|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataBaseServiceImplMBean
MBean Interface for DataBase Service Management MBean type: Standard MBean model: Inheritance (DataBaseServiceImpl)
Method Summary | |
---|---|
java.lang.Integer |
getCurrentNumberOfDataSource()
|
java.lang.String |
getDatasourceName(java.lang.String jndiName)
|
java.util.Properties |
getDataSourcePropertiesFile(java.lang.String dsFile)
|
java.util.List |
getDataSourcePropertiesFiles()
|
java.lang.Integer |
getTotalCurrentNumberOfJDBCConnectionOpen()
|
boolean |
isLoadedDataSource(java.lang.String dsName)
Determine if a datasource with a given name is already loaded in the dbm service |
void |
loadDataSource(java.lang.String name,
java.util.Properties prop,
java.lang.Boolean loadFromFile)
Load new datasource |
void |
unloadDataSource(java.lang.String dsName)
unload existing datasource |
Method Detail |
---|
java.util.List getDataSourcePropertiesFiles() throws java.lang.Exception
java.lang.Exception
java.lang.Integer getCurrentNumberOfDataSource()
java.lang.Integer getTotalCurrentNumberOfJDBCConnectionOpen()
java.util.Properties getDataSourcePropertiesFile(java.lang.String dsFile) throws java.lang.Exception
java.lang.Exception
void loadDataSource(java.lang.String name, java.util.Properties prop, java.lang.Boolean loadFromFile) throws ServiceException
name
- datasource nameprop
- datasource propertiesloadFromFile
- true if the datasource is loaded from a .properties file
ServiceException
boolean isLoadedDataSource(java.lang.String dsName)
dsName
- the name of the datasource to be checked if loadedvoid unloadDataSource(java.lang.String dsName)
java.lang.String getDatasourceName(java.lang.String jndiName)
jndiName
- The jndi name of a datasource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |