public class JettyServer extends Server
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Container.InheritedListener, Container.Listener
Modifier and Type | Field and Description |
---|---|
static JettyServer |
__instance |
_handler
Modifier and Type | Method and Description |
---|---|
void |
addWebApplication(WebAppContext webapp) |
void |
configureHandlers()
Set up the handler structure to receive a webapp.
|
void |
doStart()
Starts the managed lifecycle beans in the order they were added.
|
static JettyServer |
getInstance()
Singleton instance
|
void |
setRequestLog(RequestLog requestLog) |
addConnector, clearAttributes, doStop, dump, getAttribute, getAttributeNames, getConnectors, getDateField, getSessionIdManager, getStopAtShutdown, getThreadPool, getURI, getVersion, handle, handleAsync, handleOptions, isDumpAfterStart, isDumpBeforeStop, join, main, removeAttribute, removeConnector, setAttribute, setConnectors, setDumpAfterStart, setDumpBeforeStop, setSessionIdManager, setStopAtShutdown, start, toString
destroy, expandChildren, getHandler, getHandlers, handle, setHandler, setServer
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
dumpThis, getServer
addBean, addBean, addBean, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, setBeans, setStopTimeout, unmanage, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public static final JettyServer __instance
public static JettyServer getInstance()
public void setRequestLog(RequestLog requestLog)
public void doStart() throws Exception
ContainerLifeCycle
doStart
in class Server
Exception
Server.doStart()
public void addWebApplication(WebAppContext webapp) throws Exception
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.