org.objectweb.jonas.web.War Class Reference

Inherits org.objectweb.jonas.web.WarMBean.

Inheritance diagram for org.objectweb.jonas.web.War:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.web.War:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 War (URL warURL, URL earURL, String hostName, String contextRoot, boolean java2DelegationModel, String xmlContent, String jonasXmlContent, String[] servletsName)
boolean isInEarCase ()
URL getWarURL ()
URL getEarURL ()
String getHostName ()
String getContextRoot ()
boolean getJava2DelegationModel ()
String getXmlContent ()
String getJOnASXmlContent ()
String[] getServletsName ()
void setPermissionManager (PermissionManager permissionManager)
PermissionManager getPermissionManager ()
String getContextId ()
boolean equals (War war)
int hashCode ()
String toString ()

Detailed Description

This class is representing a War (a web application) structure which is composed of :

Definition at line 48 of file War.java.


Constructor & Destructor Documentation

org.objectweb.jonas.web.War.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. (Used in the case of an ear application).

Parameters:
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 compliance
xmlContent content of the web.xml file
jonasXmlContent content of the jonas-web.xml file
servletsName name of the servlets

Definition at line 107 of file War.java.


Member Function Documentation

boolean org.objectweb.jonas.web.War.equals War  war  ) 
 

Return true if only if the specified war is equal to this war.

Parameters:
war the war to compare for the equality.
Returns:
true if only if the specified war is equal to this war.

Definition at line 225 of file War.java.

References org.objectweb.jonas.web.War.getContextRoot(), org.objectweb.jonas.web.War.getEarURL(), org.objectweb.jonas.web.War.getHostName(), org.objectweb.jonas.web.War.getJava2DelegationModel(), and org.objectweb.jonas.web.War.getWarURL().

Referenced by org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getWar().

Here is the call graph for this function:

String org.objectweb.jonas.web.War.getContextId  ) 
 

Gets a contextId for this module

Returns:
contextId

Definition at line 216 of file War.java.

References org.objectweb.jonas.web.War.getWarURL().

Here is the call graph for this function:

String org.objectweb.jonas.web.War.getContextRoot  ) 
 

Get the context root of this war.

Returns:
the context root of this war.

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 159 of file War.java.

Referenced by org.objectweb.jonas.web.War.equals(), and org.objectweb.jonas.web.War.toString().

URL org.objectweb.jonas.web.War.getEarURL  ) 
 

Get the URL of the ear containing this war.

Returns:
the URL of the war file.

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 143 of file War.java.

Referenced by org.objectweb.jonas.web.War.equals(), and org.objectweb.jonas.web.War.toString().

String org.objectweb.jonas.web.War.getHostName  ) 
 

Get the name of the host on which this war is deployed.

Returns:
the name of the host on which this war is deployed.

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 151 of file War.java.

Referenced by org.objectweb.jonas.web.War.equals(), and org.objectweb.jonas.web.War.toString().

boolean org.objectweb.jonas.web.War.getJava2DelegationModel  ) 
 

Context classloader must follow the java2 delegation model ?

Returns:
true if the context's classloader must follow the java 2 delegation model.

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 167 of file War.java.

Referenced by org.objectweb.jonas.web.War.equals(), and org.objectweb.jonas.web.War.toString().

String org.objectweb.jonas.web.War.getJOnASXmlContent  ) 
 

Return the jonas-specific xml file

Returns:
the jonas-specific xml file

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 183 of file War.java.

PermissionManager org.objectweb.jonas.web.War.getPermissionManager  ) 
 

Gets the permission manager

Returns:
permission manager

Definition at line 207 of file War.java.

String [] org.objectweb.jonas.web.War.getServletsName  ) 
 

Return a list of all servlets available

Returns:
a list of all servlets available

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 191 of file War.java.

URL org.objectweb.jonas.web.War.getWarURL  ) 
 

Get the URL of the war file.

Returns:
the URL of the war file.

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 135 of file War.java.

Referenced by org.objectweb.jonas.web.AbsJWebContainerServiceImpl.doStop(), org.objectweb.jonas.web.War.equals(), org.objectweb.jonas.web.War.getContextId(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getDeployedWars(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getWar(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getWarNames(), and org.objectweb.jonas.web.War.toString().

String org.objectweb.jonas.web.War.getXmlContent  ) 
 

Return the standard xml file

Returns:
the standard xml file

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 175 of file War.java.

int org.objectweb.jonas.web.War.hashCode  ) 
 

Returns:
an hashcode for this object
See also:
java.lang.Object#hashCode()

Definition at line 237 of file War.java.

boolean org.objectweb.jonas.web.War.isInEarCase  ) 
 

Return true if only if this war is in an ear file.

Returns:
true if only if this war is in an ear file.

Implements org.objectweb.jonas.web.WarMBean.

Definition at line 127 of file War.java.

Referenced by org.objectweb.jonas.web.AbsJWebContainerServiceImpl.doStop().

void org.objectweb.jonas.web.War.setPermissionManager PermissionManager  permissionManager  ) 
 

Set the permission manager

Parameters:
permissionManager permission manager to set

Definition at line 199 of file War.java.

String org.objectweb.jonas.web.War.toString  ) 
 

Return a string representation of the war. Used for debug.

Returns:
a string representation of the war.

Definition at line 245 of file War.java.

References org.objectweb.jonas.web.War.getContextRoot(), org.objectweb.jonas.web.War.getEarURL(), org.objectweb.jonas.web.War.getHostName(), org.objectweb.jonas.web.War.getJava2DelegationModel(), and org.objectweb.jonas.web.War.getWarURL().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:12 2005 for JOnAS by  doxygen 1.3.9.1