| java.lang.Object org.objectweb.jonas.web.War
War | public class War implements WarMBean(Code) | | 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
author: Florent Benoit |
Constructor Summary | |
public | War(URL warURL, URL earURL, String hostName, String contextRoot, boolean java2DelegationModel, String xmlContent, String jonasXmlContent, String[] servletsName) Construct a War with the specified name, of the specified
ear. |
War | public War(URL warURL, URL earURL, String hostName, String contextRoot, boolean java2DelegationModel, String xmlContent, String jonasXmlContent, String[] servletsName)(Code) | | Construct a War with the specified name, of the specified
ear. (Used in the case of an ear application).
Parameters: warURL - the URL of the war. Parameters: earURL - the URL of the ear containing this war. Parameters: hostName - the name of the host on which this war is deployed. Parameters: contextRoot - the context root of this war. Parameters: java2DelegationModel - the java2 delegation model compliance Parameters: xmlContent - content of the web.xml file Parameters: jonasXmlContent - content of the jonas-web.xml file Parameters: servletsName - name of the servlets |
equals | public boolean equals(War war)(Code) | | Return true if only if the specified war is equal to this war.
Parameters: war - the war to compare for the equality. true if only if the specified war is equal to this war. |
getContextId | public String getContextId()(Code) | | Gets a contextId for this module
contextId |
getContextRoot | public String getContextRoot()(Code) | | Get the context root of this war.
the context root of this war. |
getEarURL | public URL getEarURL()(Code) | | Get the URL of the ear containing this war.
the URL of the war file. |
getHostName | public String getHostName()(Code) | | Get the name of the host on which this war is deployed.
the name of the host on which this war is deployed. |
getJOnASXmlContent | public String getJOnASXmlContent()(Code) | | Return the jonas-specific xml file
the jonas-specific xml file |
getJava2DelegationModel | public boolean getJava2DelegationModel()(Code) | | Context classloader must follow the java2 delegation model ?
true if the context's classloader must follow the java 2 delegation model. |
getPermissionManager | public PermissionManager getPermissionManager()(Code) | | Gets the permission manager
permission manager |
getServletsName | public String[] getServletsName()(Code) | | Return a list of all servlets available
a list of all servlets available |
getWarURL | public URL getWarURL()(Code) | | Get the URL of the war file.
the URL of the war file. |
getXmlContent | public String getXmlContent()(Code) | | Return the standard xml file
the standard xml file |
isInEarCase | public boolean isInEarCase()(Code) | | Return true if only if this war is in an ear file.
true if only if this war is in an ear file. |
setPermissionManager | public void setPermissionManager(PermissionManager permissionManager)(Code) | | Set the permission manager
Parameters: permissionManager - permission manager to set |
toString | public String toString()(Code) | | Return a string representation of the war. Used for debug.
a string representation of the war. |
|
|