|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.engine.services.connection.datasource.dbcp.BaseDatasourceService org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceService
public class PooledDatasourceService
Field Summary |
---|
Fields inherited from interface org.pentaho.platform.api.data.IDatasourceService |
---|
IDATASOURCE_SERVICE, JDBC_DATASOURCE, JDBC_POOL |
Constructor Summary | |
---|---|
PooledDatasourceService()
|
Method Summary | |
---|---|
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. |
String |
getDSUnboundName(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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PooledDatasourceService()
Method Detail |
---|
public void clearCache()
clearCache
in interface IDatasourceService
clearCache
in class BaseDatasourceService
public void clearDataSource(String dsName)
clearDataSource
in interface IDatasourceService
clearDataSource
in class BaseDatasourceService
public DataSource getDataSource(String dsName) throws DatasourceServiceException
dsName
- The Datasource name
NamingException
DatasourceServiceException
public String getDSBoundName(String dsName) throws DatasourceServiceException
getDSBoundName
in interface IDatasourceService
getDSBoundName
in class BaseDatasourceService
dsName
- The Datasource name (like SampleData)
DatasourceServiceException
public String getDSUnboundName(String dsName)
getDSUnboundName
in interface IDatasourceService
getDSUnboundName
in class BaseDatasourceService
dsName
- The Datasource name (like "jdbc/SampleData")
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |