org.codehaus.cargo.container.jetty
Class Jetty5xEmbeddedLocalContainer
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.internal.AbstractJetty4x5xEmbeddedLocalContainer
org.codehaus.cargo.container.jetty.Jetty5xEmbeddedLocalContainer
- All Implemented Interfaces:
- org.codehaus.cargo.container.Container, org.codehaus.cargo.container.EmbeddedLocalContainer, org.codehaus.cargo.container.LocalContainer, org.codehaus.cargo.util.log.Loggable, org.codehaus.cargo.container.internal.RunnableContainer
- public class Jetty5xEmbeddedLocalContainer
- extends AbstractJetty4x5xEmbeddedLocalContainer
A Jetty 5.x instance running embedded.
- Version:
- $Id: Jetty5xEmbeddedLocalContainer.java 998 2006-04-09 14:55:31Z vmassol $
Field Summary |
static java.lang.String |
ID
Unique container id. |
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 |
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 |
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 |
ID
public static final java.lang.String ID
- Unique container id.
- See Also:
- Constant Field Values
Jetty5xEmbeddedLocalContainer
public Jetty5xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
- {@inheritDoc}
- See Also:
AbstractJetty4x5xEmbeddedLocalContainer.AbstractJetty4x5xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)
getId
public java.lang.String getId()
-
- See Also:
Container.getId()
getName
public java.lang.String getName()
-
- See Also:
Container.getName()
getDefaultRealm
public java.lang.Object getDefaultRealm()
- Returns:
- the default security realm that is set
setDefaultRealm
public void setDefaultRealm(java.lang.Object webapp)
throws java.lang.Exception
- Parameters:
webapp
- the webapp to set the default security realm on
- Throws:
java.lang.Exception
- invokation error
performExtraSetupOnDeployable
protected void performExtraSetupOnDeployable(java.lang.Object webapp)
throws java.lang.Exception
- Allow extending classes to perform extra setup on the web application object.
- Specified by:
performExtraSetupOnDeployable
in class AbstractJetty4x5xEmbeddedLocalContainer
- Parameters:
webapp
- the Jetty web application object representing the WAR that has been added to
be deployed
- Throws:
java.lang.Exception
- in case of error- See Also:
AbstractJetty4x5xEmbeddedLocalContainer.performExtraSetupOnDeployable(Object)
Copyright © 2004-2008 Codehaus. All Rights Reserved.