Package org.apache.catalina.startup
Class Bootstrap
- java.lang.Object
-
- org.apache.catalina.startup.Bootstrap
-
public final class Bootstrap extends Object
Boostrap loader for Catalina. This application constructs a class loader for use in loading the Catalina internal classes (by accumulating all of the JAR files found in the "server" directory under "catalina.home"), and starts the regular execution of the container. The purpose of this roundabout approach is to keep the Catalina internal classes (and any other classes they depend on, such as an XML parser) out of the system class path and therefore not visible to application level classes.- Version:
- $Revision: 1.5 $ $Date: 2006/10/03 20:19:13 $
- Author:
- Craig R. McClanahan, Remy Maucherat
-
-
Constructor Summary
Constructors Constructor Description Bootstrap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.
-
-
-
Method Detail
-
init
public void init(String[] arguments) throws Exception
Load the Catalina daemon.- Throws:
Exception
-
destroy
public void destroy()
Destroy the Catalina Daemon.
-
setCatalinaHome
public void setCatalinaHome(String s)
-
setCatalinaBase
public void setCatalinaBase(String s)
-
getCatalinaHome
public static String getCatalinaHome()
Get the value of the catalina.home environment variable.
-
getCatalinaBase
public static String getCatalinaBase()
Get the value of the catalina.base environment variable.
-
-