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