|
||||||||||
| 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(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(Deployable deployable)
|
abstract java.lang.Object |
deployWebApp(Deployable deployable)
Implement to perform the work of the deploy. |
static java.lang.String |
getContext(Deployable deployable)
Get the context path for the webapp. |
java.lang.Boolean |
getCopyWebApp()
|
protected static java.lang.Object |
getDeployedWebAppContext(Deployable deployable)
Get the deployable that matches the context path. |
java.lang.Boolean |
getExtractWar()
|
java.lang.Boolean |
getParentLoaderPriority()
|
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(Deployable deployable)
|
abstract void |
undeployWebApp(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(EmbeddedLocalContainer container)
AbstractEmbeddedLocalDeployer.AbstractEmbeddedLocalDeployer(org.codehaus.cargo.container.EmbeddedLocalContainer)| Method Detail |
|---|
public abstract java.lang.Object deployWebApp(Deployable deployable)
deployable - the deployable
public abstract void undeployWebApp(Deployable deployable)
deployable - the webapp to undeploypublic void deploy(Deployable deployable)
deploy in interface Deployerdeploy in class AbstractDeployerDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)public void undeploy(Deployable deployable)
undeploy in interface Deployerundeploy in class AbstractDeployerDeployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)public DeployerType getType()
getType in interface DeployergetType in class AbstractEmbeddedLocalDeployerDeployer.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(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(Deployable deployable)
deployable - the deployable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||