| |
|
| java.lang.Object org.apache.catalina.startup.Catalina org.apache.catalina.startup.CatalinaService
CatalinaService | public class CatalinaService extends Catalina (Code) | | Startup/Shutdown shell program for Catalina. The following command line
options are recognized:
- -config {pathname} - Set the pathname of the configuration file
to be processed. If a relative path is specified, it will be
interpreted as relative to the directory pathname specified by the
"catalina.base" system property. [conf/server.xml]
- -help - Display usage information.
- -stop - Stop the currently running instance of Catalina.
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.
author: Craig R. McClanahan author: Remy Maucherat version: $Revision: 1.7 $ $Date: 2002/07/09 10:46:16 $ |
Method Summary | |
protected boolean | arguments(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. | public void | load() Start a new server instance. | public void | load(String args) | public void | start() Start a new server instance. | public void | stop() Stop an existing server instance. |
arguments | protected boolean arguments(String args)(Code) | | Process the specified command line arguments, and return
true if we should continue processing; otherwise
return false .
Parameters: args - Command line arguments to process |
execute | protected void execute() throws Exception(Code) | | Execute the processing that has been configured from the command line.
|
load | public void load()(Code) | | Start a new server instance.
|
start | public void start()(Code) | | Start a new server instance.
|
stop | public void stop()(Code) | | Stop an existing server instance.
|
|
|
|