org.objectweb.jonas.dbm.DataBaseServiceImplMBean Interface Reference

Inherited by org.objectweb.jonas.dbm.DataBaseServiceImpl.

Inheritance diagram for org.objectweb.jonas.dbm.DataBaseServiceImplMBean:

Inheritance graph
[legend]
List of all members.

Public Member Functions

List getDataSourcePropertiesFiles () throws Exception
Integer getCurrentNumberOfDataSource ()
Integer getTotalCurrentNumberOfJDBCConnectionOpen ()
Properties getDataSourcePropertiesFile (String dsFile) throws Exception
void loadDataSource (String name, Properties prop, Boolean loadFromFile) throws ServiceException
boolean isLoadedDataSource (String dsName)
void unloadDataSource (String dsName)
String getDatasourceName (String jndiName)

Detailed Description

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()

Definition at line 49 of file DataBaseServiceImplMBean.java.


Member Function Documentation

Integer org.objectweb.jonas.dbm.DataBaseServiceImplMBean.getCurrentNumberOfDataSource  ) 
 

Returns:
Integer Total Number of Datasource available in JOnAS

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

String org.objectweb.jonas.dbm.DataBaseServiceImplMBean.getDatasourceName String  jndiName  ) 
 

Parameters:
jndiName The jndi name of a datasource
Returns:
The datasource name

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

Properties org.objectweb.jonas.dbm.DataBaseServiceImplMBean.getDataSourcePropertiesFile String  dsFile  )  throws Exception
 

Returns:
datasource properties from a local file

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

List org.objectweb.jonas.dbm.DataBaseServiceImplMBean.getDataSourcePropertiesFiles  )  throws Exception
 

Returns:
the list of properties files describing datasources found in JONAS_BASE/conf

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

Integer org.objectweb.jonas.dbm.DataBaseServiceImplMBean.getTotalCurrentNumberOfJDBCConnectionOpen  ) 
 

Returns:
Integer Total Number of JDBC connection open

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

boolean org.objectweb.jonas.dbm.DataBaseServiceImplMBean.isLoadedDataSource String  dsName  ) 
 

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

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

void org.objectweb.jonas.dbm.DataBaseServiceImplMBean.loadDataSource String  name,
Properties  prop,
Boolean  loadFromFile
throws ServiceException
 

Load new datasource

Parameters:
name datasource name
prop datasource properties
loadFromFile true if the datasource is loaded from a .properties file

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.

void org.objectweb.jonas.dbm.DataBaseServiceImplMBean.unloadDataSource String  dsName  ) 
 

unload existing datasource

Implemented in org.objectweb.jonas.dbm.DataBaseServiceImpl.


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:06:40 2005 for JOnAS by  doxygen 1.3.9.1