|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.hsqldb.HSQLServiceImpl
public class HSQLServiceImpl
The original implementation was taken from http://scarab.tigris.org/source/browse/scarab/src/java/org/tigris/scarab/services/hsql/ and tweaked a little bit.
The component is configured from the componentConfig.xml file by specifying attributes on the service element
| Constructor Summary | |
|---|---|
HSQLServiceImpl()
Constructor |
|
| Method Summary | |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration cfg)
|
void |
dispose()
|
void |
initialize()
|
boolean |
isOnline()
Is the HSQLDB server online and will accept SQL queries? |
void |
start()
Starts the HSQLDB server. |
void |
stop()
Stop the HSQLDB server. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HSQLServiceImpl()
| Method Detail |
|---|
public void configure(org.apache.avalon.framework.configuration.Configuration cfg)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(org.apache.avalon.framework.configuration.Configuration)
public void initialize()
throws Exception
initialize in interface org.apache.avalon.framework.activity.InitializableExceptionInitializable.initialize()
public void start()
throws Exception
start in interface org.apache.avalon.framework.activity.StartableExceptionStartable.start()
public void stop()
throws Exception
stop in interface org.apache.avalon.framework.activity.StartableExceptionStartable.stop()public void dispose()
dispose in interface org.apache.avalon.framework.activity.DisposableDisposable.dispose()public boolean isOnline()
HSQLService
isOnline in interface HSQLService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||