org.objectweb.jonas.ear
Class Ear

java.lang.Object
  extended byorg.objectweb.jonas.ear.Ear
All Implemented Interfaces:
EarMBean

public class Ear
extends java.lang.Object
implements EarMBean

Class representing an Ear structure which is composed of : - array of URL of ejb-jar files - array of URL of war files - array of URL of rar files

Author:
Florent Benoit

Constructor Summary
Ear(java.net.URL earUrl, java.lang.String deploymentDescriptor, java.net.URL[] ejbJars, java.net.URL[] wars, java.net.URL[] rars)
          Construct an Ear structure with the specified files
 
Method Summary
 java.lang.String getDeploymentDescriptor()
          Return the deployment descriptor of the ear
 java.net.URL getEarUrl()
          Return the url of this Ear
 java.net.URL[] getEjbJars()
          Return the ejb-jar files
 java.net.URL[] getRars()
          Return the rar files
 java.net.URL[] getWars()
          Return the war files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ear

public Ear(java.net.URL earUrl,
           java.lang.String deploymentDescriptor,
           java.net.URL[] ejbJars,
           java.net.URL[] wars,
           java.net.URL[] rars)
Construct an Ear structure with the specified files

Parameters:
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
Method Detail

getEarUrl

public java.net.URL getEarUrl()
Return the url of this Ear

Specified by:
getEarUrl in interface EarMBean
Returns:
the url of this Ear

getEjbJars

public java.net.URL[] getEjbJars()
Return the ejb-jar files

Specified by:
getEjbJars in interface EarMBean
Returns:
the ejb-jar files

getWars

public java.net.URL[] getWars()
Return the war files

Specified by:
getWars in interface EarMBean
Returns:
the war files

getRars

public java.net.URL[] getRars()
Return the rar files

Specified by:
getRars in interface EarMBean
Returns:
the rar files

getDeploymentDescriptor

public java.lang.String getDeploymentDescriptor()
Return the deployment descriptor of the ear

Specified by:
getDeploymentDescriptor in interface EarMBean
Returns:
the deployment descriptor of the ear