| 
||||||||||
| 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.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 IDatasourceServiceclearCache in class BaseDatasourceServicepublic void clearDataSource(String dsName)
clearDataSource in interface IDatasourceServiceclearDataSource 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 IDatasourceServicegetDSBoundName in class BaseDatasourceServicedsName - The Datasource name (like SampleData)
DatasourceServiceExceptionpublic String getDSUnboundName(String dsName)
getDSUnboundName in interface IDatasourceServicegetDSUnboundName in class BaseDatasourceServicedsName - The Datasource name (like "jdbc/SampleData")
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||