org.codehaus.cargo.container.jetty
Class Jetty4xEmbeddedLocalContainer

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.AbstractContainer
          extended by org.codehaus.cargo.container.spi.AbstractLocalContainer
              extended by org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
                  extended by org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer
                      extended by org.codehaus.cargo.container.jetty.internal.AbstractJetty4x5xEmbeddedLocalContainer
                          extended by org.codehaus.cargo.container.jetty.Jetty4xEmbeddedLocalContainer
All Implemented Interfaces:
Container, EmbeddedLocalContainer, RunnableContainer, LocalContainer, Loggable

public class Jetty4xEmbeddedLocalContainer
extends AbstractJetty4x5xEmbeddedLocalContainer

Special container support for the Jetty 4.x servlet container, using Jetty in embedded mode.

Version:
$Id: Jetty4xEmbeddedLocalContainer.java 1705 2008-09-02 13:14:55Z adriana $

Field Summary
static String ID
          Unique container id.
 
Fields inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer
server
 
Constructor Summary
Jetty4xEmbeddedLocalContainer(LocalConfiguration configuration)
          
 
Method Summary
 String getId()
          
 String getName()
          
protected  void performExtraSetupOnDeployable(Object webapp)
          Allow extending classes to perform extra setup on the web application object.
 
Methods inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJetty4x5xEmbeddedLocalContainer
doStart, setSecurityRealm
 
Methods inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer
createServerObject, doStop, getCapability, getServer
 
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, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, 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, getFileHandler, setConfiguration, setFileHandler
 
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
 

Field Detail

ID

public static final String ID
Unique container id.

See Also:
Constant Field Values
Constructor Detail

Jetty4xEmbeddedLocalContainer

public Jetty4xEmbeddedLocalContainer(LocalConfiguration configuration)

See Also:
AbstractJetty4x5xEmbeddedLocalContainer.AbstractJetty4x5xEmbeddedLocalContainer(LocalConfiguration)
Method Detail

getId

public final String getId()

Returns:
the short name of the container. Note: this is not a unique id. It is simply the name in a computer-usable format.
See Also:
Container.getId()

getName

public String getName()

Returns:
the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
See Also:
Container.getName()

performExtraSetupOnDeployable

protected void performExtraSetupOnDeployable(Object webapp)
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
See Also:
AbstractJetty4x5xEmbeddedLocalContainer.performExtraSetupOnDeployable(Object)


Copyright © 2004-2012 Codehaus. All Rights Reserved.