|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.deployment.AbstractDeployableFile
public abstract class AbstractDeployableFile
Logic common to all deployable implementations (WAR and EAR deployments).
Field Summary | |
---|---|
protected java.io.File |
deployableFile
The WAR or EAR file to deploy. |
protected java.lang.String |
filterRedirectorMapping
Filter mapping of the Cactus Filter redirector found in the warArchive WAR. |
protected java.lang.String |
jspRedirectorMapping
JSP mapping of the Cactus JSP redirector found in the warArchive WAR. |
protected java.lang.String |
servletRedirectorMapping
Servlet mapping of the Cactus Servlet redirector found in the warArchive WAR. |
protected java.lang.String |
testContext
Webapp context path containing the Cactus tests. |
protected org.codehaus.cargo.module.webapp.WarArchive |
warArchive
WAR deployment descriptor as a java object. |
Constructor Summary | |
---|---|
AbstractDeployableFile()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone the object. |
java.io.File |
getFile()
|
java.lang.String |
getFilterRedirectorMapping()
Returns the first URL-pattern to which the Cactus filter redirector is mapped in the deployment descriptor. |
java.lang.String |
getJspRedirectorMapping()
Returns the first URL-pattern to which the Cactus JSP redirector is mapped in the deployment descriptor. |
java.lang.String |
getServletRedirectorMapping()
Returns the first URL-pattern to which the Cactus servlet redirector is mapped in the deployment descriptor. |
java.lang.String |
getTestContext()
|
org.codehaus.cargo.module.webapp.WarArchive |
getWarArchive()
|
void |
setFile(java.io.File theDeployableFile)
|
void |
setFilterRedirectorMapping(java.lang.String theMapping)
|
void |
setJspRedirectorMapping(java.lang.String theMapping)
|
void |
setServletRedirectorMapping(java.lang.String theMapping)
|
void |
setTestContext(java.lang.String theTestContext)
|
void |
setWarArchive(org.codehaus.cargo.module.webapp.WarArchive theWarArchive)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cactus.integration.ant.deployment.DeployableFile |
---|
isEar, isWar |
Field Detail |
---|
protected java.io.File deployableFile
protected org.codehaus.cargo.module.webapp.WarArchive warArchive
protected java.lang.String testContext
protected java.lang.String servletRedirectorMapping
protected java.lang.String filterRedirectorMapping
protected java.lang.String jspRedirectorMapping
Constructor Detail |
---|
public AbstractDeployableFile()
Method Detail |
---|
public final java.io.File getFile()
getFile
in interface DeployableFile
DeployableFile.getFile()
public final void setFile(java.io.File theDeployableFile)
theDeployableFile
- the file to deploypublic final java.lang.String getTestContext()
getTestContext
in interface DeployableFile
DeployableFile.getTestContext()
public final void setTestContext(java.lang.String theTestContext)
setTestContext
in interface DeployableFile
theTestContext
- the test context that will be used to test if the
container is started or notDeployableFile.setTestContext(String)
public final java.lang.String getServletRedirectorMapping()
getServletRedirectorMapping
in interface DeployableFile
null
if the servlet redirector is
not defined or mapped in the descriptorDeployableFile.getServletRedirectorMapping()
public final void setServletRedirectorMapping(java.lang.String theMapping)
theMapping
- the servlet redirector mappingpublic final java.lang.String getFilterRedirectorMapping()
getFilterRedirectorMapping
in interface DeployableFile
null
if the filter redirector is
not defined or mapped in the descriptorDeployableFile.getFilterRedirectorMapping()
public final void setFilterRedirectorMapping(java.lang.String theMapping)
theMapping
- the filter redirector mappingpublic final java.lang.String getJspRedirectorMapping()
getJspRedirectorMapping
in interface DeployableFile
null
if the JSP redirector is
not defined or mapped in the descriptorDeployableFile.getJspRedirectorMapping()
public final void setJspRedirectorMapping(java.lang.String theMapping)
theMapping
- the JSP redirector mappingpublic final org.codehaus.cargo.module.webapp.WarArchive getWarArchive()
getWarArchive
in interface DeployableFile
DeployableFile.getWarArchive()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DeployableFile
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- If clone is not supported (duh)DeployableFile.clone()
public final void setWarArchive(org.codehaus.cargo.module.webapp.WarArchive theWarArchive)
theWarArchive
- the WAR archive object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |