public interface DataSourceService
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
This method clears the JNDI DS cache.
|
void |
clearDataSource(String dsName)
This method clears the JNDI DS cache.
|
DataSource |
getDataSource(String dsName)
Since JNDI is supported different ways in different app servers, it's nearly impossible to have a ubiquitous way to
look up a datasource.
|
String |
getDSBoundName(String dsName)
Since JNDI is supported different ways in different app servers, it's nearly impossible to have a ubiquitous way to
look up a datasource.
|
void clearCache()
void clearDataSource(String dsName)
DataSource getDataSource(String dsName) throws DatasourceServiceException
dsName
- The Datasource nameDatasourceServiceException
String getDSBoundName(String dsName) throws DatasourceServiceException
dsName
- The Datasource name (like SampleData)DatasourceServiceException