|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatasourceService
This interface defines Pentaho's DatasourceService API
Field Summary | |
---|---|
static String |
IDATASOURCE_SERVICE
|
static String |
JDBC_DATASOURCE
|
static String |
JDBC_POOL
|
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. |
Field Detail |
---|
static final String JDBC_POOL
static final String JDBC_DATASOURCE
static final String IDATASOURCE_SERVICE
Method Detail |
---|
void clearCache()
void clearDataSource(String dsName)
DataSource getDataSource(String dsName) throws DatasourceServiceException
dsName
- The Datasource name
NamingException
DatasourceServiceException
String getDSBoundName(String dsName) throws DatasourceServiceException
dsName
- The Datasource name (like SampleData)
NamingException
DatasourceServiceException
String getDSUnboundName(String dsName)
dsName
- The Datasource name (like "jdbc/SampleData")
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |