org.apache.catalina.startup
Class CatalinaService

java.lang.Object
  extended byorg.apache.catalina.startup.Catalina
      extended byorg.apache.catalina.startup.CatalinaService

public class CatalinaService
extends Catalina

Startup/Shutdown shell program for Catalina. The following command line options are recognized:

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

Nested Class Summary
 
Nested classes inherited from class org.apache.catalina.startup.Catalina
Catalina.CatalinaShutdownHook
 
Field Summary
 
Fields inherited from class org.apache.catalina.startup.Catalina
configFile, debug, parentClassLoader, server, starting, stopping, useNaming
 
Constructor Summary
CatalinaService()
           
 
Method Summary
protected  boolean arguments(java.lang.String[] args)
          Process the specified command line arguments, and return true if we should continue processing; otherwise return false.
protected  void execute()
          Execute the processing that has been configured from the command line.
 void load()
          Start a new server instance.
 void load(java.lang.String[] args)
           
 void start()
          Start a new server instance.
 void stop()
          Stop an existing server instance.
 
Methods inherited from class org.apache.catalina.startup.Catalina
configFile, createStartDigester, createStopDigester, main, process, setCatalinaBase, setCatalinaHome, setParentClassLoader, setServer, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalinaService

public CatalinaService()
Method Detail

arguments

protected boolean arguments(java.lang.String[] args)
Process the specified command line arguments, and return true if we should continue processing; otherwise return false.

Overrides:
arguments in class Catalina
Parameters:
args - Command line arguments to process

execute

protected void execute()
                throws java.lang.Exception
Execute the processing that has been configured from the command line.

Overrides:
execute in class Catalina
Throws:
java.lang.Exception

load

public void load()
Start a new server instance.


load

public void load(java.lang.String[] args)

start

public void start()
Start a new server instance.

Overrides:
start in class Catalina

stop

public void stop()
Stop an existing server instance.

Overrides:
stop in class Catalina


Copyright 2000-2002 Apache Software Foundation. All Rights Reserved.