Class 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 Detail

      • Bootstrap

        public Bootstrap()
    • Method Detail

      • start

        public void start()
                   throws Exception
        Start the Catalina daemon.
        Throws:
        Exception
      • stopServer

        public void stopServer()
                        throws Exception
        Stop the standlone server.
        Throws:
        Exception
      • setAwait

        public void setAwait​(boolean await)
                      throws Exception
        Set flag.
        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.