## org.apache.catalina.startup
Class BootstrapService

    java.lang.Object
      org.apache.catalina.startup.BootstrapService

public final class BootstrapService
extends java.lang.Object

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.18 $ $Date: 2004/08/26 21:41:12 $
Author:
  Craig R. McClanahan, Remy Maucherat

Constructor Summary
`BootstrapService()`

Method Summary
`void` `destroy()` Destroy the Catalina Service.
`void` `init(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

### BootstrapService

    public BootstrapService()

Method Detail

### init

    public void init(DaemonContext context)
              throws java.lang.Exception

  Load the Catalina Service.

  Throws:
    `java.lang.Exception`

### start

    public void start()
               throws java.lang.Exception

  Start the Catalina Service.

  Throws:
    `java.lang.Exception`

### stop

    public void stop()
              throws java.lang.Exception

  Stop the Catalina Service.

  Throws:
    `java.lang.Exception`

### 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.