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 voiddestroy()Destroy the Catalina Daemon.booleangetAwait()static StringgetCatalinaBase()Get the value of the catalina.base environment variable.static StringgetCatalinaHome()Get the value of the catalina.home environment variable.voidinit()Initialize daemon.voidinit(String[] arguments)Load the Catalina daemon.voidsetAwait(boolean await)Set flag.voidsetCatalinaBase(String s)voidsetCatalinaHome(String s)voidstart()Start the Catalina daemon.voidstop()Stop the Catalina Daemon.voidstopServer()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.
-
-