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

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

public class WebAppModifier
extends ArchiveModifier

Modify a given WebApp.

Author:
Guillaume Sauthier

Constructor Summary
WebAppModifier(WebApp webapp)
          Creates a new WebAppModifier
 
Method Summary
 Archive modify()
          Modify the current archive and return a modified archive.
 
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

WebAppModifier

public WebAppModifier(WebApp webapp)
Creates a new WebAppModifier

Parameters:
webapp - the WebApp J2EE archive
Method Detail

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.