|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.service.AbsServiceImpl
org.ow2.jonas.db.AbsDBServiceImpl
org.ow2.jonas.db.hsqldb.HsqlDBServiceImpl
public class HsqlDBServiceImpl
Embeds the HSQL database in JOnAS.
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
|---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
| Constructor Summary | |
|---|---|
HsqlDBServiceImpl()
|
|
| Method Summary | |
|---|---|
protected void |
doStart()
Start the service. |
protected void |
doStop()
Stop the service. |
protected void |
initServer(List users,
String databaseName,
String portNumber)
Create a database with the specified arguments. |
| Methods inherited from class org.ow2.jonas.db.AbsDBServiceImpl |
|---|
getLogger, setDbname, setPort, setUsers |
| Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl |
|---|
checkRequirements, convertToList, doInit, getDomainName, getJonasServerName, getName, getServerProperties, init, isOSGi, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString |
| Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
|---|
initLogger, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.jonas.service.Service |
|---|
checkRequirements, getName, init, isStarted, setName, start, stop |
| Constructor Detail |
|---|
public HsqlDBServiceImpl()
| Method Detail |
|---|
protected void initServer(List users,
String databaseName,
String portNumber)
initServer in class AbsDBServiceImplusers - user/password (separated by a ":")databaseName - name of the databaseportNumber - port number of the database
protected void doStart()
throws org.ow2.jonas.service.ServiceException
doStart in class AbsDBServiceImplorg.ow2.jonas.service.ServiceException - if the startup failed.
protected void doStop()
throws org.ow2.jonas.service.ServiceException
doStop in class AbsDBServiceImplorg.ow2.jonas.service.ServiceException - if the stop failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||