|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.container.AbstractDeployableFile
Logic common to all deployable implementations (WAR and EAR deployments).
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()
|
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(WarArchive theWarArchive)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cactus.integration.ant.container.DeployableFile |
isEar, isWar |
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()
DeployableFile
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()
DeployableFile
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()
DeployableFile
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 WarArchive getWarArchive()
getWarArchive
in interface DeployableFile
DeployableFile.getWarArchive()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
DeployableFile
clone
in interface DeployableFile
java.lang.CloneNotSupportedException
DeployableFile.clone()
public final void setWarArchive(WarArchive theWarArchive)
theWarArchive
- the WAR archive object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |