configFile
protected String configFile
Pathname to the server configuration file.
parentClassLoader
protected ClassLoader parentClassLoader
The shared extensions class loader for this server.
server
protected Server server
The server component we are starting or stopping
shutdownHook
protected Thread shutdownHook
Shutdown hook.
starting
protected boolean starting
Are we starting a new server?
stopping
protected boolean stopping
Are we stopping an existing server?
useShutdownHook
protected boolean useShutdownHook
Use shutdown hook flag.
arguments
protected boolean arguments(args[] )
Process the specified command line arguments, and return
true
if we should continue processing; otherwise
return false
.
await
public void await()
Await and shutdown.
configFile
protected File configFile()
Return a File object representing our configuration file.
create
public void create()
createStartDigester
protected Digester createStartDigester()
Create and configure the Digester we will be using for startup.
createStopDigester
protected Digester createStopDigester()
Create and configure the Digester we will be using for shutdown.
getConfigFile
public String getConfigFile()
getUseShutdownHook
public boolean getUseShutdownHook()
load
public void load()
Start a new server instance.
load
public void load(args[] )
main
public static void main(args[] )
The application main program.
process
public void process(args[] )
The instance main program.
setCatalinaBase
public void setCatalinaBase()
Use initDirs()
Set the catalina.base
System property to the current
working directory if it has not been set.
setCatalinaHome
public void setCatalinaHome()
Use initDirs()
Set the catalina.home
System property to the current
working directory if it has not been set.
setConfig
public void setConfig(String file)
setConfigFile
public void setConfigFile(String file)
setParentClassLoader
public void setParentClassLoader(ClassLoader parentClassLoader)
Set the shared extensions class loader.
parentClassLoader
- The shared extensions class loader.
setUseShutdownHook
public void setUseShutdownHook(boolean useShutdownHook)
stop
public void stop()
Stop an existing server instance.
- stop in interface Lifecycle
- stop in interface Embedded
stopServer
public void stopServer()
stopServer
public void stopServer(String[] arguments)
usage
protected void usage()
Print usage information for this application.