|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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
A Jetty 6.x instance running embedded.
| Field Summary | |
static java.lang.String |
ID
Unique container id. |
| Fields inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer |
server |
| Constructor Summary | |
Jetty6xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
{@inheritDoc} |
|
| Method Summary | |
void |
addHandler(java.lang.Object handler)
Deploy the handler representing the webapp to jetty. |
java.lang.Object |
createHandler(org.codehaus.cargo.container.deployable.Deployable deployable)
Create a WebAppContext for the Deployable. |
java.lang.Object |
createHandler(java.lang.String contextPath,
java.lang.String war)
Create a WebAppContext for the webapp given as a string. |
protected void |
createServerObject()
Create a Jetty Server Object. |
protected void |
doStart()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
void |
removeHandler(java.lang.Object handler)
Undeploy the handler representing the webapp. |
void |
setDefaultRealm(java.lang.Object webapp)
If a default realm is available, set it on the given webapp. |
| Methods inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer |
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, 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 |
| Field Detail |
public static final java.lang.String ID
| Constructor Detail |
public Jetty6xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
AbstractJettyEmbeddedLocalContainer.AbstractJettyEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)| Method Detail |
public java.lang.String getId()
Container.getId()public java.lang.String getName()
Container.getName()
public void setDefaultRealm(java.lang.Object webapp)
throws java.lang.Exception
webapp - the webapp to set the realm on
java.lang.Exception - on invokation error
protected void doStart()
throws java.lang.Exception
java.lang.ExceptionAbstractEmbeddedLocalContainer.doStart()
public java.lang.Object createHandler(org.codehaus.cargo.container.deployable.Deployable deployable)
throws java.lang.Exception
deployable - the cargo webapp to deploy
java.lang.Exception - on invokation exception
public java.lang.Object createHandler(java.lang.String contextPath,
java.lang.String war)
throws java.lang.Exception
contextPath - the context path for the webappwar - the webapp
java.lang.Exception - on invokation exception
public void addHandler(java.lang.Object handler)
throws java.lang.Exception
handler - the handler representing the webapp
java.lang.Exception - on invocation exception
public void removeHandler(java.lang.Object handler)
throws java.lang.Exception
handler - the handler representing the webapp
java.lang.Exception - on invocation exception
protected void createServerObject()
throws java.lang.Exception
createServerObject in class AbstractJettyEmbeddedLocalContainerjava.lang.Exception - in case of errorAbstractJettyEmbeddedLocalContainer.createServerObject()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||