org.objectweb.easybeans.ant.archive.exploded
Class EarExploded

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.objectweb.easybeans.ant.archive.exploded.AbsExplodedArchive
              extended by org.objectweb.easybeans.ant.archive.exploded.EarExploded
All Implemented Interfaces:
java.lang.Cloneable, IArchive, IEar

public class EarExploded
extends AbsExplodedArchive
implements IEar

Creates an EAR exploded archive.

Author:
Florent Benoit

Field Summary
private static java.lang.String DEPLOYMENT_DESCRIPTOR
          Path to the Standard deployment descriptor.
private  EarInfo earInfo
          Ear info object.
 
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
EarExploded(org.apache.tools.ant.Project p)
          Creates an archive for the given project.
 
Method Summary
 void execute()
          Execute the task.
 java.lang.String getDDStandardName()
          Gets the path to the standard deployment descriptor.
 void setEarInfo(EarInfo earInfo)
          Sets the information about an EAR archive.
(package private)  void updateArchive(AbsArchive archive)
          Update the archive with some settings.
 
Methods inherited from class org.objectweb.easybeans.ant.archive.exploded.AbsExplodedArchive
addDD, setArchiveInfo
 
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
 
Methods inherited from interface org.objectweb.easybeans.ant.archive.api.IArchive
setArchiveInfo
 

Field Detail

DEPLOYMENT_DESCRIPTOR

private static final java.lang.String DEPLOYMENT_DESCRIPTOR
Path to the Standard deployment descriptor.

See Also:
Constant Field Values

earInfo

private EarInfo earInfo
Ear info object.

Constructor Detail

EarExploded

public EarExploded(org.apache.tools.ant.Project p)
Creates an archive for the given project.

Parameters:
p - the given project
Method Detail

setEarInfo

public void setEarInfo(EarInfo earInfo)
Sets the information about an EAR archive.

Specified by:
setEarInfo in interface IEar
Parameters:
earInfo - the object that holds data information.

getDDStandardName

public java.lang.String getDDStandardName()
Gets the path to the standard deployment descriptor.

Specified by:
getDDStandardName in class AbsExplodedArchive
Returns:
the path to the standard deployment descriptor.

execute

public void execute()
Execute the task.

Specified by:
execute in interface IArchive
Overrides:
execute in class AbsExplodedArchive

updateArchive

void updateArchive(AbsArchive archive)
Update the archive with some settings.

Parameters:
archive - the archive to update