org.ow2.util.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.ow2.util.ant.archive.exploded.AbsExplodedArchive
              extended by org.ow2.util.ant.archive.exploded.EarExploded
All Implemented Interfaces:
Cloneable, IArchive, IEar

public class EarExploded
extends AbsExplodedArchive
implements IEar

Creates an EAR exploded archive.

Author:
Florent Benoit

Field Summary
 
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.
 String getDDSpecificame()
          Gets the path to the specific deployment descriptor.
 String getDDStandardName()
          Gets the path to the standard deployment descriptor.
 void setEarInfo(EarInfo earInfo)
          Sets the information about an EAR archive.
 
Methods inherited from class org.ow2.util.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.ow2.util.ant.archive.api.IArchive
setArchiveInfo
 

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 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

getDDSpecificame

public String getDDSpecificame()
Gets the path to the specific deployment descriptor.

Specified by:
getDDSpecificame in class AbsExplodedArchive
Returns:
the path to the specific deployment descriptor.


Copyright © 2007-2013 Bull S.A.S.. All Rights Reserved.