org.objectweb.easybeans.ant.archive
Class Ear

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.objectweb.easybeans.ant.archive.AbsArchive
              extended by org.objectweb.easybeans.ant.archive.Ear
All Implemented Interfaces:
java.lang.Cloneable

public class Ear
extends AbsArchive

Task that creates an Ear archive (.ear file or .ear directory).

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.
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Ear()
          Default constructor.
 
Method Summary
 void addConfiguredEjb(Ejb ejb)
          Add a given Ejb archive.
 void addConfiguredWar(War war)
          Add a given war archive.
 void execute()
          Execute the task.
 
Methods inherited from class org.objectweb.easybeans.ant.archive.AbsArchive
addFileSet, getDest, getFileSetList, getName, isExploded, setDD, setDest, setExploded, setName, updateArchiveInfo
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
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

Ear

public Ear()
Default constructor.

Method Detail

addConfiguredWar

public void addConfiguredWar(War war)
Add a given war archive.

Parameters:
war - the given archive

addConfiguredEjb

public void addConfiguredEjb(Ejb ejb)
Add a given Ejb archive.

Parameters:
ejb - the given archive

execute

public void execute()
Execute the task.

Overrides:
execute in class org.apache.tools.ant.Task