org.apache.catalina.startup
Class BootstrapService
java.lang.Object
|
+--org.apache.catalina.startup.BootstrapService
- All Implemented Interfaces:
- org.apache.service.Service
- public final class BootstrapService
- extends java.lang.Object
- implements org.apache.service.Service
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: 1.7 $ $Date: 2001/09/13 14:26:18 $
- Author:
- Craig R. McClanahan, Remy Maucherat
Method Summary |
void |
load(org.apache.service.ServiceController controller,
java.lang.String[] arguments)
Load the Catalina Service. |
static void |
main(java.lang.String[] args)
The main program for the bootstrap. |
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 |
BootstrapService
public BootstrapService()
load
public void load(org.apache.service.ServiceController controller,
java.lang.String[] arguments)
throws java.lang.Throwable
- Load the Catalina Service.
- Specified by:
load
in interface org.apache.service.Service
start
public void start()
throws java.lang.Throwable
- Start the Catalina Service.
- Specified by:
start
in interface org.apache.service.Service
stop
public void stop()
throws java.lang.Throwable
- Stop the Catalina Service.
- Specified by:
stop
in interface org.apache.service.Service
main
public static void main(java.lang.String[] args)
- The main program for the bootstrap.
- Parameters:
args
- Command line arguments to be processed
Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.