|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a component to deploy in a container. It can either be a WAR or an EAR file.
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()
|
boolean |
isEar()
Returns whether the deployable file is an enterprise application archive (EAR). |
boolean |
isWar()
Returns whether the deployable file is a web-app archive (WAR). |
void |
setTestContext(java.lang.String theTestContext)
|
Method Detail |
public java.io.File getFile()
public boolean isWar()
true
if the deployable file is a WARpublic boolean isEar()
true
if the deployable file is a EARpublic WarArchive getWarArchive()
public java.lang.String getTestContext()
public void setTestContext(java.lang.String theTestContext)
theTestContext
- the test context that will be used to test if the
container is started or notpublic java.lang.String getServletRedirectorMapping()
null
if the servlet redirector is
not defined or mapped in the descriptorpublic java.lang.String getFilterRedirectorMapping()
null
if the filter redirector is
not defined or mapped in the descriptorpublic java.lang.String getJspRedirectorMapping()
null
if the JSP redirector is
not defined or mapped in the descriptorpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- If clone is not supported (duh)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |