Inheritance diagram for org.objectweb.jonas.dbm.DataBaseServiceImpl:
Public Member Functions | |
void | doInit (Context ctx) throws ServiceException |
void | doStart () throws ServiceException |
void | doStop () throws ServiceException |
void | createDataSource (String datasourceName, Properties dsd) throws Exception |
void | unbindDataSources () throws NamingException |
ConnectionManager | getConnectionManager (String dsname) |
List | getDataSourcePropertiesFiles () throws Exception |
Integer | getCurrentNumberOfDataSource () |
Integer | getTotalCurrentNumberOfJDBCConnectionOpen () |
boolean | isLoadedDataSource (String dsName) |
void | unloadDataSource (String name) |
Properties | getDataSourcePropertiesFile (String dsFile) throws Exception |
void | loadDataSource (String name, Properties prop, Boolean loadFromFile) throws ServiceException |
String | getDatasourceName (String jndiName) |
Static Public Attributes | |
final String | JDBCResourceName = "JDBCResource" |
00/18/04 Jun Inamori (j-office@osa.att.ne.jp) New implementation of unbindDataSources for closing correctly all connections at server shutdown.
03/01/14 Adriana Danes
Highlight Configuration properties Change createDataSource() signature : take additional argument, the datasource name Manage binded datasources (mapping of jndi name to datasource name) Use datasource name for naming MBeans (instead of jndi name) Modify MBean methods to take into account the previous points.
03/05/25 Introduce pool size configuration 04/09/20 Create JSR77 MBeans JDBCResource, JDBCDataSource JDBCDriver
Definition at line 85 of file DataBaseServiceImpl.java.
|
Here is the call graph for this function:
|
Initialization of the DataBase service. Configuration information is passed thru a Context object. Definition at line 171 of file DataBaseServiceImpl.java. |
|
Starting DataBase service Initialization of the service is already done. Definition at line 225 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.DataBaseServiceImpl.createDataSource(), org.objectweb.jonas.common.JProp.getConfigFileEnv(), and org.objectweb.jonas.dbm.DataBaseServiceImpl.JDBCResourceName. |
Here is the call graph for this function:
|
Stopping DataBase service Unbind Datasource Definition at line 281 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.JDBCResource.JDBCResource(), org.objectweb.jonas.dbm.DataBaseServiceImpl.JDBCResourceName, and org.objectweb.jonas.dbm.DataBaseServiceImpl.unbindDataSources(). |
Here is the call graph for this function:
|
get ConnectionManager for the datasource having this JNDI name. Definition at line 482 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.ConnectionManager.getDSName(). |
Here is the call graph for this function:
|
MBean method:
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 509 of file DataBaseServiceImpl.java. |
|
MBean method allowing to determine the datasource name from its jndi name
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 641 of file DataBaseServiceImpl.java. Referenced by org.objectweb.jonas.container.EJB.getAllDataSourceName(). |
|
MBean method:
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 586 of file DataBaseServiceImpl.java. |
|
MBean method:
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 501 of file DataBaseServiceImpl.java. |
|
MBean method:
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 517 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.ConnectionManager.getCurrentOpened(). |
Here is the call graph for this function:
|
MBean method:
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 532 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.ConnectionManager.getDatasourceName(). Referenced by org.objectweb.jonas.dbm.DataBaseServiceImpl.loadDataSource(). |
Here is the call graph for this function:
|
MBean method: load a new datasource
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 606 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.DataBaseServiceImpl.createDataSource(), org.objectweb.jonas.dbm.DataBaseServiceImpl.isLoadedDataSource(), and org.objectweb.jonas.dbm.DataBaseServiceImpl.unloadDataSource(). |
Here is the call graph for this function:
|
Unbind dataSource names from the registry, unregister MBeans Implements org.objectweb.jonas.dbm.DataBaseService. Definition at line 423 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.ConnectionManager.closeAllConnection(), org.objectweb.jonas.dbm.ConnectionManager.getDSName(), org.objectweb.jonas.dbm.JDBCResource.getJdbcDataSources(), and org.objectweb.jonas.dbm.JDBCResource.removeJdbcDataSource(). Referenced by org.objectweb.jonas.dbm.DataBaseServiceImpl.doStop(). |
Here is the call graph for this function:
|
MBean method:
Implements org.objectweb.jonas.dbm.DataBaseServiceImplMBean. Definition at line 548 of file DataBaseServiceImpl.java. References org.objectweb.jonas.dbm.ConnectionManager.closeAllConnection(), org.objectweb.jonas.dbm.ConnectionManager.getDatasourceName(), org.objectweb.jonas.dbm.ConnectionManager.getDSName(), and org.objectweb.jonas.dbm.JDBCResource.removeJdbcDataSource(). Referenced by org.objectweb.jonas.dbm.DataBaseServiceImpl.loadDataSource(). |
Here is the call graph for this function:
|
Our naming convention for JDBCResource ObjectName (value of the 'name' key property) Definition at line 150 of file DataBaseServiceImpl.java. Referenced by org.objectweb.jonas.dbm.DataBaseServiceImpl.doStart(), and org.objectweb.jonas.dbm.DataBaseServiceImpl.doStop(). |