org.apache.catalina.startup
Class BootstrapService
org.apache.catalina.startup.BootstrapService
- public final class 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.
- Version:
- $Revision: 466595 $ $Date: 2006-10-21 18:24:41 -0400 (Sat, 21 Oct 2006) $
- Author:
- Craig R. McClanahan, Remy Maucherat
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. |
BootstrapService
public BootstrapService()
init
public void init(org.apache.commons.daemon.DaemonContext context)
throws java.lang.Exception
- Load the Catalina Service.
start
public void start()
throws java.lang.Exception
- Start the Catalina Service.
stop
public void stop()
throws java.lang.Exception
- Stop the Catalina Service.
destroy
public void destroy()
- Destroy the Catalina Service.
main
public static void main(java.lang.String[] args)
- Main method, used for testing only.
- Parameters:
args
- Command line arguments to be processed
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.