org.codehaus.cargo.container.jetty.internal
Class AbstractJettyEmbeddedLocalContainer
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
- All Implemented Interfaces:
- Container, EmbeddedLocalContainer, RunnableContainer, LocalContainer, Loggable
- Direct Known Subclasses:
- AbstractJetty4x5xEmbeddedLocalContainer, Jetty6xEmbeddedLocalContainer
public abstract class AbstractJettyEmbeddedLocalContainer
- extends AbstractEmbeddedLocalContainer
Common code for all Jetty embedded container implementations.
- Version:
- $Id: AbstractJettyEmbeddedLocalContainer.java 998 2006-04-09 14:55:31Z vmassol $
Field Summary |
protected java.lang.Object |
server
Jetty Server object. |
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer |
getConfiguration, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setOutput, setState, setTimeout, start, stop, verify, waitForCompletion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected java.lang.Object server
- Jetty Server object. Note that we use an Object as we're calling the Jetty API by
introspection only. This is order not to have any dependency with the Jetty jar for building.
AbstractJettyEmbeddedLocalContainer
public AbstractJettyEmbeddedLocalContainer(LocalConfiguration configuration)
-
- See Also:
AbstractInstalledLocalContainer.AbstractInstalledLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)
getServer
public java.lang.Object getServer()
- Returns:
- the Jetty Server object
createServerObject
protected void createServerObject()
throws java.lang.Exception
- Create a Jetty Server Object.
- Throws:
java.lang.Exception
- in case of error
getCapability
public ContainerCapability getCapability()
-
- See Also:
Container.getCapability()
doStop
protected void doStop()
throws java.lang.Exception
-
- Specified by:
doStop
in class AbstractEmbeddedLocalContainer
- Throws:
java.lang.Exception
- See Also:
AbstractEmbeddedLocalContainer.doStop()
Copyright © 2004-2011 Codehaus. All Rights Reserved.