| org.objectweb.jonas.dbm.DataBaseServiceImplMBean
All known Subclasses: org.objectweb.jonas.dbm.DataBaseServiceImpl,
DataBaseServiceImplMBean | public interface DataBaseServiceImplMBean (Code) | | MBean Interface for DataBase Service Management
MBean type: Standard
MBean model: Inheritance (DataBaseServiceImpl)
author: Michel Bruno and Guillaume Riviere author: Contributor(s): author: 03/01/14 Adriana Danes author: Change loadDataSource() signature : take additional argument, the datasource name author: Additionnal MBean method : getDatasourceName() |
getCurrentNumberOfDataSource | public Integer getCurrentNumberOfDataSource()(Code) | | Integer Total Number of Datasource available in JOnAS |
getDataSourcePropertiesFiles | public List getDataSourcePropertiesFiles() throws Exception(Code) | | the list of properties files describing datasources found in JONAS_BASE/conf |
getDatasourceName | public String getDatasourceName(String jndiName)(Code) | | Parameters: jndiName - The jndi name of a datasource The datasource name |
getTotalCurrentNumberOfJDBCConnectionOpen | public Integer getTotalCurrentNumberOfJDBCConnectionOpen()(Code) | | Integer Total Number of JDBC connection open |
isLoadedDataSource | public boolean isLoadedDataSource(String dsName)(Code) | | Determine if a datasource with a given name is already loaded in the dbm service
Parameters: dsName - the name of the datasource to be checked if loaded |
loadDataSource | public void loadDataSource(String name, Properties prop, Boolean loadFromFile) throws ServiceException(Code) | | Load new datasource
Parameters: name - datasource name Parameters: prop - datasource properties Parameters: loadFromFile - true if the datasource is loaded from a .properties file |
unloadDataSource | public void unloadDataSource(String dsName)(Code) | | unload existing datasource
|
|
|