org.ow2.jonas.generators.genbase.modifier
Class AbsApplicationModifier
java.lang.Object
org.ow2.jonas.generators.genbase.modifier.ArchiveModifier
org.ow2.jonas.generators.genbase.modifier.AbsApplicationModifier
- Direct Known Subclasses:
- ApplicationModifier, ApplicationModifier
public abstract class AbsApplicationModifier
- extends ArchiveModifier
Modify a given Application.
- Author:
- Guillaume Sauthier, Florent Benoit
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbsApplicationModifier
public AbsApplicationModifier(Application archive,
Config config)
- Creates a new ApplicationModifier.
- Parameters:
archive
- the Application J2EE archiveconfig
- the configuration object
init
protected abstract void init()
- initialize modifier
modify
public Archive modify()
throws GenBaseException
- Modify the current archive and return a modified archive.
- Specified by:
modify
in class ArchiveModifier
- Returns:
- a modified archive.
- Throws:
GenBaseException
- When modifications fails
getCltModifiers
protected List getCltModifiers()
- Returns:
- the cltModifiers.
getEjbModifiers
protected List getEjbModifiers()
- Returns:
- the ejbModifiers.
getWebModifiers
protected List getWebModifiers()
- Returns:
- the webModifiers.
getApplication
protected Application getApplication()
- Returns:
- the application element.
Copyright © 2010 OW2 Consortium. All Rights Reserved.