public final class Bootstrap extends Object
Modifier and Type | Field and Description |
---|---|
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()
Obtain the name of the configured base (instance) directory.
|
static File |
getCatalinaBaseFile()
Obtain the configured base (instance) directory.
|
static String |
getCatalinaHome()
Obtain the name of configured home (binary) directory.
|
static File |
getCatalinaHomeFile()
Obtain the configured home (binary) directory.
|
protected static String[] |
getPaths(String value) |
void |
init()
Initialize daemon.
|
void |
init(String[] arguments)
Load the Catalina daemon.
|
static void |
main(String[] args)
Main method and entry point when starting Tomcat via the provided
scripts.
|
protected String |
replace(String str)
System property replacement in the given string.
|
void |
setAwait(boolean await)
Set flag.
|
void |
start()
Start the Catalina daemon.
|
void |
stop()
Stop the Catalina Daemon.
|
void |
stopServer()
Stop the standalone server.
|
void |
stopServer(String[] arguments)
Stop the standalone server.
|
protected ClassLoader commonLoader
protected ClassLoader catalinaLoader
protected ClassLoader sharedLoader
protected String replace(String str)
str
- The original stringpublic void init(String[] arguments) throws Exception
Exception
public void stopServer(String[] arguments) throws Exception
Exception
public void destroy()
public static void main(String[] args)
args
- Command line arguments to be processedpublic static String getCatalinaHome()
public static String getCatalinaBase()
getCatalinaHome()
will be used.public static File getCatalinaHomeFile()
public static File getCatalinaBaseFile()
getCatalinaHomeFile()
will be used.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.