org.objectweb.easybeans.ant.archive.info
Class EarInfo

java.lang.Object
  extended by org.objectweb.easybeans.ant.archive.info.ArchiveInfo
      extended by org.objectweb.easybeans.ant.archive.info.EarInfo

public class EarInfo
extends ArchiveInfo

Class that holds information about an EAR archive.

Author:
Florent Benoit

Field Summary
private  java.util.List<Ejb> ejbs
          List of EJB to package in this EAR.
private  java.util.List<War> wars
          List of War to package in this EAR.
 
Constructor Summary
EarInfo()
           
 
Method Summary
 java.util.List<Ejb> getEjbs()
           
 java.util.List<War> getWars()
           
 void setEjbs(java.util.List<Ejb> ejbs)
          Sets the list of EJB modules.
 void setWars(java.util.List<War> wars)
          Sets the list of WAR modules.
 
Methods inherited from class org.objectweb.easybeans.ant.archive.info.ArchiveInfo
addFileSet, getDd, getDest, getFileSetList, getPersistenceDD, isExploded, setDD, setDest, setExploded, setPersistenceDD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wars

private java.util.List<War> wars
List of War to package in this EAR.


ejbs

private java.util.List<Ejb> ejbs
List of EJB to package in this EAR.

Constructor Detail

EarInfo

public EarInfo()
Method Detail

getEjbs

public java.util.List<Ejb> getEjbs()
Returns:
the list of EJBs modules

setEjbs

public void setEjbs(java.util.List<Ejb> ejbs)
Sets the list of EJB modules.

Parameters:
ejbs - the list of EJBs modules

setWars

public void setWars(java.util.List<War> wars)
Sets the list of WAR modules.

Parameters:
wars - the list of Wars modules

getWars

public java.util.List<War> getWars()
Returns:
the list of WARs modules