|
||||||||||
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.deployer.AbstractDeployer
org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
org.codehaus.cargo.container.spi.deployer.AbstractEmbeddedLocalDeployer
org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalDeployer
public abstract class AbstractJettyEmbeddedLocalDeployer
Base class for all Jetty deployers.
Constructor Summary | |
---|---|
AbstractJettyEmbeddedLocalDeployer(org.codehaus.cargo.container.EmbeddedLocalContainer container)
|
Method Summary | |
---|---|
protected static void |
addDeployedWebAppContext(java.lang.String context,
java.lang.Object deployedWebApp)
Add a new entry to the context path:deployable map. |
void |
deploy(org.codehaus.cargo.container.deployable.Deployable deployable)
|
abstract java.lang.Object |
deployWebApp(org.codehaus.cargo.container.deployable.Deployable deployable)
Implement to perform the work of the deploy. |
static java.lang.String |
getContext(org.codehaus.cargo.container.deployable.Deployable deployable)
Get the context path for the webapp. |
java.lang.Boolean |
getCopyWebApp()
|
protected static java.lang.Object |
getDeployedWebAppContext(org.codehaus.cargo.container.deployable.Deployable deployable)
Get the deployable that matches the context path. |
java.lang.Boolean |
getExtractWar()
|
java.lang.Boolean |
getParentLoaderPriority()
|
org.codehaus.cargo.container.deployer.DeployerType |
getType()
|
java.lang.String[] |
getVirtualHosts()
|
protected static void |
removeDeployedWebAppContext(java.lang.String context)
Take a map entry away using the key. |
void |
setCopyWebApp(java.lang.Boolean copy)
copy webapp. |
void |
setExtractWar(java.lang.Boolean extract)
If true, all wars deployed by this deployer will be extracted before being deployed. |
void |
setParentLoaderPriority(java.lang.Boolean java2compliant)
This is called java2classloadercompliance setting in jetty5 and the parentloaderpriority in jetty6. |
void |
setVirtualHosts(java.lang.String[] hosts)
Set a list of virtual hosts corresponding to the webapps deployed via this deployer. |
void |
undeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
|
abstract void |
undeployWebApp(org.codehaus.cargo.container.deployable.Deployable deployable)
Implement to perform the work of the undeploy. |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer |
---|
getContainer, getFileHandler, setFileHandler |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
---|
deploy, deploy, redeploy, start, stop |
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.util.log.Loggable |
---|
getLogger, setLogger |
Constructor Detail |
---|
public AbstractJettyEmbeddedLocalDeployer(org.codehaus.cargo.container.EmbeddedLocalContainer container)
AbstractEmbeddedLocalDeployer.AbstractEmbeddedLocalDeployer(org.codehaus.cargo.container.EmbeddedLocalContainer)
Method Detail |
---|
public abstract java.lang.Object deployWebApp(org.codehaus.cargo.container.deployable.Deployable deployable)
deployable
- the deployable
public abstract void undeployWebApp(org.codehaus.cargo.container.deployable.Deployable deployable)
deployable
- the webapp to undeploypublic void deploy(org.codehaus.cargo.container.deployable.Deployable deployable)
deploy
in interface org.codehaus.cargo.container.deployer.Deployer
deploy
in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
Deployer.deploy(org.codehaus.cargo.container.deployable.Deployable)
public void undeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
undeploy
in interface org.codehaus.cargo.container.deployer.Deployer
undeploy
in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
Deployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)
public org.codehaus.cargo.container.deployer.DeployerType getType()
getType
in interface org.codehaus.cargo.container.deployer.Deployer
getType
in class org.codehaus.cargo.container.spi.deployer.AbstractEmbeddedLocalDeployer
Deployer.getType()
public void setVirtualHosts(java.lang.String[] hosts)
hosts
- list of virtual host namespublic java.lang.String[] getVirtualHosts()
public void setExtractWar(java.lang.Boolean extract)
extract
- true=extract; false=don't extract, null=do container defaultpublic java.lang.Boolean getExtractWar()
public void setCopyWebApp(java.lang.Boolean copy)
copy
- if true, webapps are copied to tmp dirpublic java.lang.Boolean getCopyWebApp()
public void setParentLoaderPriority(java.lang.Boolean java2compliant)
java2compliant
- true=inverted loading, false=servlet spec, null=do the container
defaultpublic java.lang.Boolean getParentLoaderPriority()
protected static java.lang.Object getDeployedWebAppContext(org.codehaus.cargo.container.deployable.Deployable deployable)
deployable
- the deployable object
protected static void addDeployedWebAppContext(java.lang.String context, java.lang.Object deployedWebApp)
context
- the contextpath for the webappdeployedWebApp
- the jetty webapp objectprotected static void removeDeployedWebAppContext(java.lang.String context)
context
- the context pathpublic static java.lang.String getContext(org.codehaus.cargo.container.deployable.Deployable deployable)
deployable
- the deployable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |