org.jpu.patterns.serviceLocator
Interface IDataSourceLocator
- All Superinterfaces:
- ILocator
- All Known Implementing Classes:
- DataSourceLocator
- public interface IDataSourceLocator
- extends ILocator
Method Summary |
javax.sql.DataSource |
getDataSource(java.lang.String dataSourceNamingIdentifier)
|
javax.sql.DataSource |
getDataSource(java.lang.String dataSourceNamingIdentifier,
java.lang.Class c)
|
javax.sql.DataSource |
getDataSource(java.lang.String dataSourceNamingIdentifier,
ServiceLocatorOptions options)
|
Methods inherited from interface org.jpu.patterns.serviceLocator.ILocator |
clearCache, getCache, getDefaultCast, getLookupStrategy, getNarrowStrategy, getObject, getObject, getObject, narrow, narrow, newCache, newLookupStrategy, newNarrowStrategy, removeFromCache, setCache, setLookupStrategy, setNarrowStrategy |
getDataSource
public javax.sql.DataSource getDataSource(java.lang.String dataSourceNamingIdentifier)
throws ServiceLocatorException
- Throws:
ServiceLocatorException
getDataSource
public javax.sql.DataSource getDataSource(java.lang.String dataSourceNamingIdentifier,
java.lang.Class c)
throws ServiceLocatorException
- Throws:
ServiceLocatorException
getDataSource
public javax.sql.DataSource getDataSource(java.lang.String dataSourceNamingIdentifier,
ServiceLocatorOptions options)
throws ServiceLocatorException
- Throws:
ServiceLocatorException
Copyright (c) 2001-2003 - Apache Software Foundation