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