Class JettyEmbedder
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.maven.AbstractJettyEmbedder
org.eclipse.jetty.ee10.maven.plugin.JettyEmbedder
- All Implemented Interfaces:
org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle
public class JettyEmbedder
extends org.eclipse.jetty.maven.AbstractJettyEmbedder
JettyEmbedder
Starts jetty within the current process.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener -
Field Summary
FieldsFields inherited from class org.eclipse.jetty.maven.AbstractJettyEmbedder
contextHandlers, contextXml, exitVm, httpConnector, jettyProperties, jettyXmlFiles, loginServices, requestLog, server, shutdownMonitor, stopAtShutdown, stopKey, stopPort, webAppPropertiesFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidConfigure the webappList<org.eclipse.jetty.server.handler.ContextHandler> protected voidvoidvoidMethods inherited from class org.eclipse.jetty.maven.AbstractJettyEmbedder
configure, configureServer, doStart, getContextXml, getHttpConnector, getJettyProperties, getJettyXmlFiles, getLoginServices, getRequestLog, getServer, getShutdownMonitor, getStopKey, getStopPort, isExitVm, isStopAtShutdown, join, redeployWebApp, setContextHandlers, setContextXml, setExitVm, setHttpConnector, setJettyProperties, setJettyXmlFiles, setLoginServices, setRequestLog, setServer, setShutdownMonitor, setStopAtShutdown, setStopKey, setStopPort, setWebAppPropertiesMethods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListenersMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Field Details
-
webApp
-
-
Constructor Details
-
JettyEmbedder
public JettyEmbedder()
-
-
Method Details
-
getContextHandlers
- Overrides:
getContextHandlersin classorg.eclipse.jetty.maven.AbstractJettyEmbedder
-
setWebApp
-
redeployWebApp
-
stopWebApp
-
configureWebApp
-
applyWebAppProperties
-
addWebAppToServer
-