org.ow2.jonas.generators.wsgen.modifier
Class ApplicationModifier

java.lang.Object
  extended by org.ow2.jonas.generators.genbase.modifier.ArchiveModifier
      extended by org.ow2.jonas.generators.genbase.modifier.AbsApplicationModifier
          extended by org.ow2.jonas.generators.wsgen.modifier.ApplicationModifier

public class ApplicationModifier
extends AbsApplicationModifier

Modify a given Application.

Author:
Guillaume Sauthier

Constructor Summary
ApplicationModifier(Application archive)
          Creates a new ApplicationModifier.
 
Method Summary
protected  void init()
          initialize modifier
 Archive modify()
          Update the Manifest of the Application before modifying it.
 
Methods inherited from class org.ow2.jonas.generators.genbase.modifier.AbsApplicationModifier
getApplication, getCltModifiers, getEjbModifiers, getWebModifiers
 
Methods inherited from class org.ow2.jonas.generators.genbase.modifier.ArchiveModifier
getArchive, getLogger, save, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationModifier

public ApplicationModifier(Application archive)
                    throws WsGenException
Creates a new ApplicationModifier.

Parameters:
archive - the Application J2EE archive
Throws:
WsGenException - if the application modifier cannot be built
Method Detail

init

protected void init()
initialize modifier

Specified by:
init in class AbsApplicationModifier

modify

public Archive modify()
               throws GenBaseException
Update the Manifest of the Application before modifying it.

Overrides:
modify in class AbsApplicationModifier
Returns:
Returns the modified Archive.
Throws:
GenBaseException - When modifications fails
See Also:
AbsApplicationModifier.modify()


Copyright © 2010 OW2 Consortium. All Rights Reserved.