|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.startup.Catalina
Startup/Shutdown shell program for Catalina. The following command line options are recognized:
Nested Class Summary | |
protected class |
Catalina.CatalinaShutdownHook
Shutdown hook which will perform a clean shutdown of Catalina if needed. |
Field Summary | |
protected java.lang.String |
configFile
Pathname to the server configuration file. |
protected boolean |
debug
Set the debugging detail level on our Digester. |
protected java.lang.ClassLoader |
parentClassLoader
The shared extensions class loader for this server. |
protected Server |
server
The server component we are starting or stopping |
protected boolean |
starting
Are we starting a new server? |
protected boolean |
stopping
Are we stopping an existing server? |
protected boolean |
useNaming
Are we using naming ? |
Constructor Summary | |
Catalina()
|
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 java.io.File |
configFile()
Return a File object representing our configuration file. |
protected org.apache.commons.digester.Digester |
createStartDigester()
Create and configure the Digester we will be using for startup. |
protected org.apache.commons.digester.Digester |
createStopDigester()
Create and configure the Digester we will be using for shutdown. |
protected void |
enableDigesterSubstitutor(org.apache.commons.digester.Digester digester)
Adds a substitutor to interpolate system properties |
protected void |
execute()
Execute the processing that has been configured from the command line. |
static void |
main(java.lang.String[] args)
The application main program. |
void |
process(java.lang.String[] args)
The instance main program. |
protected void |
setCatalinaBase()
Set the catalina.base System property to the current
working directory if it has not been set. |
protected void |
setCatalinaHome()
Set the catalina.home System property to the current
working directory if it has not been set. |
void |
setParentClassLoader(java.lang.ClassLoader parentClassLoader)
Set the shared extensions class loader. |
void |
setServer(Server server)
Set the server instance we are configuring. |
protected void |
start()
Start a new server instance. |
protected void |
stop()
Stop an existing server instance. |
protected void |
usage()
Print usage information for this application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String configFile
protected boolean debug
protected java.lang.ClassLoader parentClassLoader
protected Server server
protected boolean starting
protected boolean stopping
protected boolean useNaming
Constructor Detail |
public Catalina()
Method Detail |
public static void main(java.lang.String[] args)
args
- Command line argumentspublic void process(java.lang.String[] args)
args
- Command line argumentspublic void setParentClassLoader(java.lang.ClassLoader parentClassLoader)
parentClassLoader
- The shared extensions class loader.public void setServer(Server server)
server
- The new serverprotected boolean arguments(java.lang.String[] args)
true
if we should continue processing; otherwise
return false
.
args
- Command line arguments to processprotected java.io.File configFile()
protected void enableDigesterSubstitutor(org.apache.commons.digester.Digester digester)
digester
- The digester to which we add the substitutorprotected org.apache.commons.digester.Digester createStartDigester()
protected org.apache.commons.digester.Digester createStopDigester()
protected void execute() throws java.lang.Exception
java.lang.Exception
protected void setCatalinaBase()
catalina.base
System property to the current
working directory if it has not been set.
protected void setCatalinaHome()
catalina.home
System property to the current
working directory if it has not been set.
protected void start()
protected void stop()
protected void usage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |