org.objectweb.jonas.dbm
Interface DataBaseServiceImplMBean
- All Known Implementing Classes:
- DataBaseServiceImpl
- public interface DataBaseServiceImplMBean
MBean Interface for DataBase Service Management
MBean type: Standard
MBean model: Inheritance (DataBaseServiceImpl)
- Author:
- Michel Bruno and Guillaume Riviere
Contributor(s):
03/01/14 Adriana Danes
Change loadDataSource() signature : take additional argument, the datasource name
Additionnal MBean method : getDatasourceName()
getCurrentNumberOfDataSource
public java.lang.Integer getCurrentNumberOfDataSource()
- Returns:
- Integer Total Number of Datasource available in JOnAS
getTotalCurrentNumberOfJDBCConnectionOpen
public java.lang.Integer getTotalCurrentNumberOfJDBCConnectionOpen()
- Returns:
- Integer Total Number of JDBC connection open
getDataSourcePropertiesFile
public java.util.Properties getDataSourcePropertiesFile(java.lang.String dsFile)
throws java.lang.Exception
- Returns:
- datasource properties from a local file
loadDataSource
public void loadDataSource(java.lang.String name,
java.util.Properties prop)
throws java.rmi.RemoteException
- Load new datasource
- Parameters:
name
- datasource nameprop
- datasource properties
unloadDataSource
public void unloadDataSource(java.lang.String dsName)
- unload existing datasource
getDatasourceName
public java.lang.String getDatasourceName(java.lang.String jndiName)
- Parameters:
jndiName
- The jndi name of a datasource- Returns:
- The datasource name