org.ow2.util.ant.archive.exploded
Class AbsExplodedArchive

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
All Implemented Interfaces:
Cloneable, IArchive
Direct Known Subclasses:
EarExploded, EjbExploded, WarExploded

public abstract class AbsExplodedArchive
extends org.apache.tools.ant.Task
implements IArchive

Abstract task for creating 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
AbsExplodedArchive(org.apache.tools.ant.Project p)
          Creates an archive for the given project.
 
Method Summary
 void addDD()
          Add the standard deployment descriptor in the archive.
 void execute()
          Execute the task.
abstract  String getDDSpecificame()
          Gets the path to the specific deployment descriptor.
abstract  String getDDStandardName()
          Gets the path to the standard deployment descriptor.
 void setArchiveInfo(ArchiveInfo archiveInfo)
          Sets the information about an archive.
 
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
 

Constructor Detail

AbsExplodedArchive

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

Parameters:
p - the given project
Method Detail

getDDStandardName

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

Returns:
the path to the standard deployment descriptor.

getDDSpecificame

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

Returns:
the path to the specific deployment descriptor.

setArchiveInfo

public void setArchiveInfo(ArchiveInfo archiveInfo)
Sets the information about an archive.

Specified by:
setArchiveInfo in interface IArchive
Parameters:
archiveInfo - the object that holds data information.

addDD

public void addDD()
Add the standard deployment descriptor in the archive.


execute

public void execute()
Execute the task.

Specified by:
execute in interface IArchive
Overrides:
execute in class org.apache.tools.ant.Task


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