|
||||||||||
| 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.deployable.AbstractDeployable
org.codehaus.cargo.container.deployable.WAR
org.codehaus.cargo.container.jboss.JBossWAR
public class JBossWAR
Extension that supports custom JBoss descriptor files such as the jboss-web.xml one.
For example, this allows returning the right web context even if it has been defined in the
jboss-web.xml file.
| Constructor Summary | |
|---|---|
JBossWAR(java.lang.String war)
|
|
| Method Summary | |
|---|---|
boolean |
containsJBossWebFile()
|
java.lang.String |
getContext()
|
| Methods inherited from class org.codehaus.cargo.container.deployable.WAR |
|---|
getType, isExpandedWar, setContext |
| Methods inherited from class org.codehaus.cargo.container.spi.deployable.AbstractDeployable |
|---|
getFile, getFileHandler, setFileHandler |
| 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 JBossWAR(java.lang.String war)
war - the location of the WAR being wrapped. This must point to either a WAR file or an
expanded WAR directory.| Method Detail |
|---|
public java.lang.String getContext()
getContext in class WARjboss-web.xml if any.
If there is no jboss-web.xml or if it doesn't
define any root context, then return WAR.getContext().public boolean containsJBossWebFile()
WEB-INF/jboss-web.xml
file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||