|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.web.War
public class War
This class is representing a War (a web application) structure which is composed of : - the URL of the war file. - the URL of the ear containing this war. - the name of the host on which this war is deployed. - the context root of this war. - compliance to the java 2 delegation model. - Content of the web.xml file - Content of the jonas-web.xml file - List of the servlets name - A permission manager
Constructor Summary | |
---|---|
War(java.net.URL warURL,
java.net.URL earURL,
java.lang.String hostName,
java.lang.String contextRoot,
boolean java2DelegationModel,
java.lang.String xmlContent,
java.lang.String jonasXmlContent,
java.lang.String[] servletsName)
Construct a War with the specified name, of the specified ear. |
Method Summary | |
---|---|
boolean |
equals(War war)
Return true if only if the specified war is equal to this war. |
java.lang.String |
getContextId()
Gets a contextId for this module |
java.lang.String |
getContextRoot()
Get the context root of this war. |
java.net.URL |
getEarURL()
Get the URL of the ear containing this war. |
java.lang.String |
getHostName()
Get the name of the host on which this war is deployed. |
boolean |
getJava2DelegationModel()
Context classloader must follow the java2 delegation model ? |
java.lang.String |
getJOnASXmlContent()
Return the jonas-specific xml file |
PermissionManager |
getPermissionManager()
Gets the permission manager |
java.lang.String[] |
getServletsName()
Return a list of all servlets available |
java.net.URL |
getWarURL()
Get the URL of the war file. |
java.lang.String |
getXmlContent()
Return the standard xml file |
int |
hashCode()
|
boolean |
isInEarCase()
Return true if only if this war is in an ear file. |
void |
setPermissionManager(PermissionManager permissionManager)
Set the permission manager |
java.lang.String |
toString()
Return a string representation of the war. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public War(java.net.URL warURL, java.net.URL earURL, java.lang.String hostName, java.lang.String contextRoot, boolean java2DelegationModel, java.lang.String xmlContent, java.lang.String jonasXmlContent, java.lang.String[] servletsName)
warURL
- the URL of the war.earURL
- the URL of the ear containing this war.hostName
- the name of the host on which this war is deployed.contextRoot
- the context root of this war.java2DelegationModel
- the java2 delegation model compliancexmlContent
- content of the web.xml filejonasXmlContent
- content of the jonas-web.xml fileservletsName
- name of the servletsMethod Detail |
---|
public boolean isInEarCase()
isInEarCase
in interface WarMBean
public java.net.URL getWarURL()
getWarURL
in interface WarMBean
public java.net.URL getEarURL()
getEarURL
in interface WarMBean
public java.lang.String getHostName()
getHostName
in interface WarMBean
public java.lang.String getContextRoot()
getContextRoot
in interface WarMBean
public boolean getJava2DelegationModel()
getJava2DelegationModel
in interface WarMBean
public java.lang.String getXmlContent()
getXmlContent
in interface WarMBean
public java.lang.String getJOnASXmlContent()
getJOnASXmlContent
in interface WarMBean
public java.lang.String[] getServletsName()
getServletsName
in interface WarMBean
public void setPermissionManager(PermissionManager permissionManager)
permissionManager
- permission manager to setpublic PermissionManager getPermissionManager()
public java.lang.String getContextId()
public boolean equals(War war)
war
- the war to compare for the equality.
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |