public abstract class BaseApplicationStart
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.io.File |
appdir |
protected java.util.List<ApplicationListener> |
applicationListeners |
protected static org.slf4j.Logger |
log |
| 构造器和说明 |
|---|
BaseApplicationStart() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
afterStartContainer(ApplicationBootContext applicationBootContext) |
protected void |
afterStartHandler(ApplicationBootContext applicationBootContext) |
protected void |
beforeStartHandler(ApplicationBootContext applicationBootContext) |
protected ApplicationBootContext |
buildApplicationBootContext(java.lang.String context,
int port,
java.io.File appdir,
java.lang.String docBase,
java.lang.String host) |
protected void |
failureHandler(java.lang.Throwable throwable,
ApplicationBootContext applicationBootContext) |
protected java.lang.String |
getContextPath() |
protected java.lang.String |
getDocBase() |
java.lang.String |
getHost() |
protected int |
getIdleTimeout() |
protected int |
getMaxThreads() |
protected int |
getMinThreads() |
protected int |
getPort() |
abstract java.lang.String |
getServerType() |
protected int |
getThreadPoolIdleTimeout() |
protected void |
initApplicationListeners() |
static void |
setAppdir(java.io.File appdir) |
void |
start() |
protected abstract void |
startContainer(ApplicationBootContext applicationBootContext) |
protected static org.slf4j.Logger log
protected static java.io.File appdir
protected java.util.List<ApplicationListener> applicationListeners
protected void initApplicationListeners()
protected ApplicationBootContext buildApplicationBootContext(java.lang.String context, int port, java.io.File appdir, java.lang.String docBase, java.lang.String host)
protected int getThreadPoolIdleTimeout()
protected int getMinThreads()
protected int getMaxThreads()
protected int getIdleTimeout()
protected java.lang.String getContextPath()
protected java.lang.String getDocBase()
public abstract java.lang.String getServerType()
protected int getPort()
public java.lang.String getHost()
protected abstract void startContainer(ApplicationBootContext applicationBootContext) throws java.lang.Exception
java.lang.Exceptionprotected abstract void afterStartContainer(ApplicationBootContext applicationBootContext) throws java.lang.Exception
java.lang.Exceptionpublic void start()
protected void beforeStartHandler(ApplicationBootContext applicationBootContext)
protected void afterStartHandler(ApplicationBootContext applicationBootContext)
protected void failureHandler(java.lang.Throwable throwable,
ApplicationBootContext applicationBootContext)
public static void setAppdir(java.io.File appdir)