org.objectweb.jonas.db.AbsDBServiceImpl Class Reference

Inherited by org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.

Inheritance diagram for org.objectweb.jonas.db.AbsDBServiceImpl:

Inheritance graph
[legend]
List of all members.

Static Public Member Functions

Logger getLogger ()

Protected Member Functions

void doInit (Context ctx) throws ServiceException
abstract void initServer (List users, String databaseName, String portNumber)
void doStart () throws ServiceException
void doStop () throws ServiceException

Detailed Description

Abstract database service to be implemented by implementation of Java databases
Author:
Florent Benoit

Definition at line 46 of file AbsDBServiceImpl.java.


Member Function Documentation

void org.objectweb.jonas.db.AbsDBServiceImpl.doInit Context  ctx  )  throws ServiceException [protected]
 

Initialize the service.

Parameters:
ctx the configuration context of the service.
Exceptions:
ServiceException if the initialization failed.

Definition at line 79 of file AbsDBServiceImpl.java.

References org.objectweb.jonas.db.AbsDBServiceImpl.initServer().

Here is the call graph for this function:

void org.objectweb.jonas.db.AbsDBServiceImpl.doStart  )  throws ServiceException [protected]
 

Start the service.

Exceptions:
ServiceException if the startup failed.

Reimplemented in org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.

Definition at line 139 of file AbsDBServiceImpl.java.

void org.objectweb.jonas.db.AbsDBServiceImpl.doStop  )  throws ServiceException [protected]
 

Stop the service.

Exceptions:
ServiceException if the stop failed.

Reimplemented in org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.

Definition at line 147 of file AbsDBServiceImpl.java.

Logger org.objectweb.jonas.db.AbsDBServiceImpl.getLogger  )  [static]
 

Returns:
the logger.

Definition at line 154 of file AbsDBServiceImpl.java.

Referenced by org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.doStart(), and org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.initServer().

abstract void org.objectweb.jonas.db.AbsDBServiceImpl.initServer List  users,
String  databaseName,
String  portNumber
[protected, pure virtual]
 

Create a database with the specified arguments. Need to be implemented by classes extending this one.

Parameters:
users user/password (separated by a ":")
databaseName name of the database
portNumber port number of the database

Implemented in org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.

Referenced by org.objectweb.jonas.db.AbsDBServiceImpl.doInit().


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