public final class Bootstrap extends Object
| Constructor and Description | 
|---|
| Bootstrap() | 
| Modifier and Type | Method and 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. | 
| 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 | setCatalinaBase(String s) | 
| void | setCatalinaHome(String s) | 
| 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 String replace(String str)
str - The original stringpublic void init()
          throws Exception
Exception - Fatal initialization errorpublic void init(String[] arguments) throws Exception
arguments - Initialization argumentsException - Fatal initialization errorpublic void start()
           throws Exception
Exception - Fatal start errorpublic void stop()
          throws Exception
Exception - Fatal stop errorpublic void stopServer()
                throws Exception
Exception - Fatal stop errorpublic void stopServer(String[] arguments) throws Exception
arguments - Command line argumentsException - Fatal stop errorpublic void setAwait(boolean await)
              throws Exception
await - true if the daemon should blockException - Reflection errorpublic void destroy()
public static void main(String[] args)
args - Command line arguments to be processedpublic void setCatalinaHome(String s)
public void setCatalinaBase(String s)
public static String getCatalinaHome()
public static String getCatalinaBase()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.