Save This Page
Home » apache-tomcat-6.0.26-src » org.apache » catalina » startup » [javadoc | source]
org.apache.catalina.startup
public final class: Bootstrap [javadoc | source]
java.lang.Object
   org.apache.catalina.startup.Bootstrap
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.
Field Summary
protected static final  String CATALINA_HOME_TOKEN     
protected static final  String CATALINA_BASE_TOKEN     
protected  ClassLoader commonLoader     
protected  ClassLoader catalinaLoader     
protected  ClassLoader sharedLoader     
Method from org.apache.catalina.startup.Bootstrap Summary:
destroy,   getAwait,   getCatalinaBase,   getCatalinaHome,   init,   init,   main,   setAwait,   setCatalinaBase,   setCatalinaHome,   start,   stop,   stopServer,   stopServer
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.startup.Bootstrap Detail:
 public  void destroy() 
    Destroy the Catalina Daemon.
 public boolean getAwait() throws Exception 
 public static String getCatalinaBase() 
    Get the value of the catalina.base environment variable.
 public static String getCatalinaHome() 
    Get the value of the catalina.home environment variable.
 public  void init() throws Exception 
    Initialize daemon.
 public  void init(String[] arguments) throws Exception 
    Load the Catalina daemon.
 public static  void main(String[] args) 
    Main method, used for testing only.
 public  void setAwait(boolean await) throws Exception 
    Set flag.
 public  void setCatalinaBase(String s) 
 public  void setCatalinaHome(String s) 
 public  void start() throws Exception 
    Start the Catalina daemon.
 public  void stop() throws Exception 
    Stop the Catalina Daemon.
 public  void stopServer() throws Exception 
    Stop the standlone server.
 public  void stopServer(String[] arguments) throws Exception 
    Stop the standlone server.