org.apache.catalina.startup
public final class Bootstrap extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CATALINA_BASE_TOKEN |
protected static java.lang.String |
CATALINA_HOME_TOKEN |
protected java.lang.ClassLoader |
catalinaLoader |
protected java.lang.ClassLoader |
commonLoader |
protected java.lang.ClassLoader |
sharedLoader |
Constructor and Description |
---|
Bootstrap() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the Catalina Daemon.
|
boolean |
getAwait() |
static java.lang.String |
getCatalinaBase()
Get the value of the catalina.base environment variable.
|
static java.lang.String |
getCatalinaHome()
Get the value of the catalina.home environment variable.
|
void |
init()
Initialize daemon.
|
void |
init(java.lang.String[] arguments)
Load the Catalina daemon.
|
static void |
main(java.lang.String[] args)
Main method, used for testing only.
|
void |
setAwait(boolean await)
Set flag.
|
void |
setCatalinaBase(java.lang.String s) |
void |
setCatalinaHome(java.lang.String s) |
void |
start()
Start the Catalina daemon.
|
void |
stop()
Stop the Catalina Daemon.
|
void |
stopServer()
Stop the standlone server.
|
void |
stopServer(java.lang.String[] arguments)
Stop the standlone server.
|
protected static final java.lang.String CATALINA_HOME_TOKEN
protected static final java.lang.String CATALINA_BASE_TOKEN
protected java.lang.ClassLoader commonLoader
protected java.lang.ClassLoader catalinaLoader
protected java.lang.ClassLoader sharedLoader
public void init() throws java.lang.Exception
java.lang.Exception
public void init(java.lang.String[] arguments) throws java.lang.Exception
java.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public void stopServer() throws java.lang.Exception
java.lang.Exception
public void stopServer(java.lang.String[] arguments) throws java.lang.Exception
java.lang.Exception
public void setAwait(boolean await) throws java.lang.Exception
java.lang.Exception
public boolean getAwait() throws java.lang.Exception
java.lang.Exception
public void destroy()
public static void main(java.lang.String[] args)
args
- Command line arguments to be processedpublic void setCatalinaHome(java.lang.String s)
public void setCatalinaBase(java.lang.String s)
public static java.lang.String getCatalinaHome()
public static java.lang.String getCatalinaBase()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.