public class JettyServer extends Server
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Container.InheritedListener, Container.Listener
_handler
Constructor and Description |
---|
JettyServer() |
Modifier and Type | Method and Description |
---|---|
void |
addWebApplication(WebAppContext webapp) |
void |
applyXmlConfigurations(List<File> files)
Apply xml files to server startup, passing in ourselves as the
"Server" instance.
|
void |
configureHandlers()
Set up the handler structure to receive a webapp.
|
void |
doStart()
Starts the managed lifecycle beans in the order they were added.
|
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, setStopTimeout, start, toString
destroy, expandChildren, getHandler, getHandlers, handle, setHandler, setServer
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
dumpThis, getServer
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, stop, 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 void setRequestLog(RequestLog requestLog)
public void doStart() throws Exception
ContainerLifeCycle
doStart
in class Server
Exception
Server.doStart()
public void addWebApplication(WebAppContext webapp) throws Exception
public void configureHandlers() throws Exception
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.