public final class Bootstrap
extends java.lang.Object
| Constructor | Description |
|---|---|
Bootstrap() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Destroy the Catalina Daemon.
|
boolean |
getAwait() |
|
static java.lang.String |
getCatalinaBase() |
Obtain the name of the configured base (instance) directory.
|
static java.io.File |
getCatalinaBaseFile() |
Obtain the configured base (instance) directory.
|
static java.lang.String |
getCatalinaHome() |
Obtain the name of configured home (binary) directory.
|
static java.io.File |
getCatalinaHomeFile() |
Obtain the configured home (binary) directory.
|
protected static java.lang.String[] |
getPaths(java.lang.String value) |
|
void |
init() |
Initialize daemon.
|
void |
init(java.lang.String[] arguments) |
Load the Catalina daemon.
|
static void |
main(java.lang.String[] args) |
Main method and entry point when starting Tomcat via the provided
scripts.
|
protected java.lang.String |
replace(java.lang.String str) |
System property replacement in the given string.
|
void |
setAwait(boolean await) |
Set flag.
|
void |
start() |
Start the Catalina daemon.
|
void |
stop() |
Stop the Catalina Daemon.
|
void |
stopServer() |
Stop the standalone server.
|
void |
stopServer(java.lang.String[] arguments) |
Stop the standalone server.
|
protected java.lang.String replace(java.lang.String str)
str - The original stringpublic void init()
throws java.lang.Exception
java.lang.Exception - Fatal initialization errorpublic void init(java.lang.String[] arguments)
throws java.lang.Exception
arguments - Initialization argumentsjava.lang.Exception - Fatal initialization errorpublic void start()
throws java.lang.Exception
java.lang.Exception - Fatal start errorpublic void stop()
throws java.lang.Exception
java.lang.Exception - Fatal stop errorpublic void stopServer()
throws java.lang.Exception
java.lang.Exception - Fatal stop errorpublic void stopServer(java.lang.String[] arguments)
throws java.lang.Exception
arguments - Command line argumentsjava.lang.Exception - Fatal stop errorpublic void setAwait(boolean await)
throws java.lang.Exception
await - true if the daemon should blockjava.lang.Exception - Reflection errorpublic boolean getAwait()
throws java.lang.Exception
java.lang.Exceptionpublic void destroy()
public static void main(java.lang.String[] args)
args - Command line arguments to be processedpublic static java.lang.String getCatalinaHome()
public static java.lang.String getCatalinaBase()
getCatalinaHome() will be used.public static java.io.File getCatalinaHomeFile()
public static java.io.File getCatalinaBaseFile()
getCatalinaHomeFile() will be used.protected static java.lang.String[] getPaths(java.lang.String value)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.