DisposableBean, InitializableBeanpublic class JettyServer extends org.eclipse.jetty.server.Server implements InitializableBean, DisposableBean
Created: 2016. 12. 22.
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor | Description |
|---|---|
JettyServer() |
|
JettyServer(int port) |
|
JettyServer(org.eclipse.jetty.util.thread.ThreadPool pool) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
A Dispose implementation that calls the destroy() method.
|
void |
initialize() |
Invoke on initialization after it has set all bean properties supplied.
|
void |
setAutoStart(boolean autoStart) |
|
void |
setSystemProperty(java.lang.String key,
java.lang.String value) |
doError, dumpThis, getServerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServeraddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, stop, unmanage, updateBean, updateBean, updateBeansexpandChildren, getHandler, getHandlers, handle, insertHandler, setHandleraddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddConnector, clearAttributes, doStart, doStop, dump, getAttribute, getAttributeNames, getConnectors, getDateField, getErrorHandler, getRequestLog, getSessionIdManager, getStopAtShutdown, getThreadPool, getURI, getVersion, handle, handleAsync, handleOptions, isDumpAfterStart, isDumpBeforeStop, join, main, removeAttribute, removeConnector, setAttribute, setConnectors, setDumpAfterStart, setDumpBeforeStop, setErrorHandler, setRequestLog, setSessionIdManager, setStopAtShutdown, setStopTimeout, start, toStringpublic JettyServer()
public JettyServer(int port)
public JettyServer(org.eclipse.jetty.util.thread.ThreadPool pool)
public void setAutoStart(boolean autoStart)
public void setSystemProperty(java.lang.String key,
java.lang.String value)
public void initialize()
throws java.lang.Exception
InitializableBeaninitialize in interface InitializableBeanjava.lang.Exception - if initialization failspublic void destroy()
DisposableBeandestroy in interface DisposableBeandestroy in class org.eclipse.jetty.server.handler.HandlerWrapperCopyright © 2008–2017 The Aspectran Project. All rights reserved.