Class Jetty10xEmbeddedLocalContainer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.AbstractContainer
-
- org.codehaus.cargo.container.spi.AbstractLocalContainer
-
- org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
- org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer
-
- org.codehaus.cargo.container.jetty.Jetty6xEmbeddedLocalContainer
-
- org.codehaus.cargo.container.jetty.Jetty7xEmbeddedLocalContainer
-
- org.codehaus.cargo.container.jetty.Jetty8xEmbeddedLocalContainer
-
- org.codehaus.cargo.container.jetty.Jetty9xEmbeddedLocalContainer
-
- org.codehaus.cargo.container.jetty.Jetty10xEmbeddedLocalContainer
-
- All Implemented Interfaces:
Container
,EmbeddedLocalContainer
,RunnableContainer
,LocalContainer
,Loggable
- Direct Known Subclasses:
Jetty11xEmbeddedLocalContainer
public class Jetty10xEmbeddedLocalContainer extends Jetty9xEmbeddedLocalContainer
A Jetty 10.x instance running embedded.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
Unique container id.-
Fields inherited from class org.codehaus.cargo.container.jetty.Jetty6xEmbeddedLocalContainer
addHandlerMethod, contextHandlers, defaultRealm, handlerClass, handlers, removeHandlerMethod
-
Fields inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer
server
-
-
Constructor Summary
Constructors Constructor Description Jetty10xEmbeddedLocalContainer(LocalConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createServerObject()
Create a Jetty Server Object.String
getId()
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty9xEmbeddedLocalContainer
configureJettyConnectors
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty8xEmbeddedLocalContainer
doStart
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty7xEmbeddedLocalContainer
addJettyHandlers, createHandler, createHandler, setDefaultRealm, setSecurityRealm
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty6xEmbeddedLocalContainer
addDeployables, addHandler, getName, removeHandler, startJetty
-
Methods inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer
doStop, getCapability, getServer, getVersion, waitForCompletion
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
getClassLoader, getType, setClassLoader, startInternal, stopInternal
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer
executePostStartTasks, forceStopInternal, getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, restart, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, verify, waitForPortShutdown, waitForStarting
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.LocalContainer
getConfiguration, getFileHandler, setConfiguration, setFileHandler
-
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer
getOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stop
-
-
-
-
Field Detail
-
ID
public static final String ID
Unique container id.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Jetty10xEmbeddedLocalContainer
public Jetty10xEmbeddedLocalContainer(LocalConfiguration configuration)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceContainer
- Overrides:
getId
in classJetty9xEmbeddedLocalContainer
- Returns:
- the short name of the container. Note: this is not a unique id. It is simply the name in a computer-usable format.
-
createServerObject
protected void createServerObject() throws Exception
Create a Jetty Server Object.- Overrides:
createServerObject
in classJetty9xEmbeddedLocalContainer
- Throws:
Exception
- in case of error
-
-