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