org.objectweb.jonas.ear.Ear Class Reference

Inherits org.objectweb.jonas.ear.EarMBean.

Inheritance diagram for org.objectweb.jonas.ear.Ear:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.ear.Ear:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Ear (String objectName, String pName, String pUnpackName, URL earUrl, String deploymentDescriptor, URL[] ejbJars, URL[] wars, URL[] rars)
URL getEarUrl ()
URL[] getEjbJars ()
URL[] getWars ()
URL[] getRars ()
String getName ()
String getUnpackName ()
String[] getModules ()
String[] getWebModules ()
void setWebModules ()

Detailed Description

Class representing an Ear structure which is composed of :
Author:
Florent Benoit

Michel-Ange Anton (JSR77: J2EEApplication)

Adriana Danes

Definition at line 49 of file Ear.java.


Constructor & Destructor Documentation

org.objectweb.jonas.ear.Ear.Ear String  objectName,
String  pName,
String  pUnpackName,
URL  earUrl,
String  deploymentDescriptor,
URL[]  ejbJars,
URL[]  wars,
URL[]  rars
 

Construct an Ear structure with the specified files

Parameters:
objectName The object name of the deployed object
pName name of the application
pUnpackName name of the working copy of the ear
earUrl the url of this ear
deploymentDescriptor the deployment descriptor of the file
ejbJars the URLs of ejb-jar files
wars the URLs of the war files
rars the URLs of the rar files

Definition at line 103 of file Ear.java.

References org.objectweb.jonas.ear.Ear.setWebModules().

Here is the call graph for this function:


Member Function Documentation

URL org.objectweb.jonas.ear.Ear.getEarUrl  ) 
 

Return the url of this Ear

Returns:
the url of this Ear

Implements org.objectweb.jonas.ear.EarMBean.

Definition at line 122 of file Ear.java.

Referenced by org.objectweb.jonas.ear.EarServiceImpl.getDeployedEars().

URL [] org.objectweb.jonas.ear.Ear.getEjbJars  ) 
 

Return the ejb-jar files

Returns:
the ejb-jar files

Implements org.objectweb.jonas.ear.EarMBean.

Definition at line 130 of file Ear.java.

Referenced by org.objectweb.jonas.ear.EarServiceImpl.unDeployEar().

String [] org.objectweb.jonas.ear.Ear.getModules  ) 
 

Return the J2EEModules used by this J2EEApplication (jar, war, rar).

Returns:
A array of OBJECT_NAMEs corresponding to these modules.

Definition at line 199 of file Ear.java.

String org.objectweb.jonas.ear.Ear.getName  ) 
 

The application name.

Returns:
application name

Definition at line 154 of file Ear.java.

Referenced by org.objectweb.jonas.ear.EarServiceImpl.buildJ2eeApplicationName(), and org.objectweb.jonas.ear.EarServiceImpl.isEarDeployedByUnpackName().

URL [] org.objectweb.jonas.ear.Ear.getRars  ) 
 

Return the rar files

Returns:
the rar files

Implements org.objectweb.jonas.ear.EarMBean.

Definition at line 146 of file Ear.java.

Referenced by org.objectweb.jonas.ear.EarServiceImpl.unDeployEar().

String org.objectweb.jonas.ear.Ear.getUnpackName  ) 
 

The name of the working copy of the ear

Returns:
work name

Definition at line 162 of file Ear.java.

Referenced by org.objectweb.jonas.ear.EarServiceImpl.isEarDeployedByUnpackName().

URL [] org.objectweb.jonas.ear.Ear.getWars  ) 
 

Return the war files

Returns:
the war files

Implements org.objectweb.jonas.ear.EarMBean.

Definition at line 138 of file Ear.java.

Referenced by org.objectweb.jonas.ear.EarServiceImpl.unDeployEar().

String [] org.objectweb.jonas.ear.Ear.getWebModules  ) 
 

Returns:
Returns the webModules.

Definition at line 205 of file Ear.java.

void org.objectweb.jonas.ear.Ear.setWebModules  ) 
 

Determine the web modules contained in this J2EEApplication

Definition at line 211 of file Ear.java.

Referenced by org.objectweb.jonas.ear.Ear.Ear().


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