|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.startup.BootstrapService
Special version of the Catalina bootstrap, designed to be invoked with JNI, and designed to allow easier wrapping by system level components, which would otherwise be confused by the asychronous startup and shutdown Catalina uses. This class should be used to run Catalina as a system service under Windows NT and clones.
Constructor Summary | |
BootstrapService()
|
Method Summary | |
void |
destroy()
Destroy the Catalina Service. |
void |
init(org.apache.commons.daemon.DaemonContext context)
Load the Catalina Service. |
static void |
main(java.lang.String[] args)
Main method, used for testing only. |
void |
start()
Start the Catalina Service. |
void |
stop()
Stop the Catalina Service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BootstrapService()
Method Detail |
public void init(org.apache.commons.daemon.DaemonContext context) throws java.lang.Exception
init
in interface org.apache.commons.daemon.Daemon
java.lang.Exception
public void start() throws java.lang.Exception
start
in interface org.apache.commons.daemon.Daemon
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in interface org.apache.commons.daemon.Daemon
java.lang.Exception
public void destroy()
destroy
in interface org.apache.commons.daemon.Daemon
public static void main(java.lang.String[] args)
args
- Command line arguments to be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |