org.objectweb.jonas_ws.wsgen.modifier
Class ApplicationModifier

java.lang.Object
  extended byorg.objectweb.jonas_ws.wsgen.modifier.ArchiveModifier
      extended byorg.objectweb.jonas_ws.wsgen.modifier.ApplicationModifier

public class ApplicationModifier
extends ArchiveModifier

Modify a given Application.

Author:
Guillaume Sauthier

Constructor Summary
ApplicationModifier(Application archive)
          Creates a new ApplicationModifier.
 
Method Summary
 Archive modify()
          Modify the current archive and return a modified archive.
 
Methods inherited from class org.objectweb.jonas_ws.wsgen.modifier.ArchiveModifier
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)
Creates a new ApplicationModifier.

Parameters:
archive - the Application J2EE archive
Method Detail

modify

public Archive modify()
               throws WsGenException
Modify the current archive and return a modified archive.

Specified by:
modify in class ArchiveModifier
Returns:
a modified archive.
Throws:
WsGenException - When modifications fails