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:
- org.codehaus.cargo.container.Container, org.codehaus.cargo.container.EmbeddedLocalContainer, org.codehaus.cargo.container.internal.RunnableContainer, org.codehaus.cargo.container.LocalContainer, org.codehaus.cargo.util.log.Loggable
- Direct Known Subclasses:
- AbstractJetty4x5xEmbeddedLocalContainer, Jetty6xEmbeddedLocalContainer
public abstract class AbstractJettyEmbeddedLocalContainer
- extends org.codehaus.cargo.container.spi.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.AbstractEmbeddedLocalContainer |
doStart, getClassLoader, getType, setClassLoader, startInternal, stopInternal |
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 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, setConfiguration |
Methods inherited from interface org.codehaus.cargo.container.Container |
getId, getName, getState |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer |
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop |
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(org.codehaus.cargo.container.configuration.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 org.codehaus.cargo.container.ContainerCapability getCapability()
-
- See Also:
Container.getCapability()
doStop
protected void doStop()
throws java.lang.Exception
-
- Specified by:
doStop
in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- Throws:
java.lang.Exception
- See Also:
AbstractEmbeddedLocalContainer.doStop()
Copyright © 2004-2009 Codehaus. All Rights Reserved.