DisposableBean
, InitializableBean
, org.eclipse.jetty.server.Handler
, org.eclipse.jetty.server.HandlerContainer
, org.eclipse.jetty.util.Attributes
, org.eclipse.jetty.util.component.Container
, org.eclipse.jetty.util.component.Destroyable
, org.eclipse.jetty.util.component.Dumpable
, org.eclipse.jetty.util.component.LifeCycle
public class JettyServer extends org.eclipse.jetty.server.Server implements InitializableBean, DisposableBean
Created: 2016. 12. 22.
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.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, getServer
doShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServer
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
addBean, 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, updateBeans
expandChildren, getHandler, getHandlers, handle, insertHandler, setHandler
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addConnector, 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, toString
public 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
InitializableBean
initialize
in interface InitializableBean
java.lang.Exception
- if initialization failspublic void destroy()
DisposableBean
destroy
in interface org.eclipse.jetty.util.component.Destroyable
destroy
in interface DisposableBean
destroy
in interface org.eclipse.jetty.server.Handler
destroy
in class org.eclipse.jetty.server.handler.HandlerWrapper
Copyright © 2008–2018 The Aspectran Project. All rights reserved.