org.objectweb.jonas_ws.wsgen.modifier
Class EjbJarModifier

java.lang.Object
  extended by org.objectweb.jonas_lib.genbase.modifier.ArchiveModifier
      extended by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier

public class EjbJarModifier
extends ArchiveModifier

Modify a given EjbJar.

Author:
Guillaume Sauthier

Constructor Summary
EjbJarModifier(EjbJar ejbjar)
          Creates a new EjbJarModifier object.
 
Method Summary
 Archive modify()
          modify the current EjbJar.
 
Methods inherited from class org.objectweb.jonas_lib.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

EjbJarModifier

public EjbJarModifier(EjbJar ejbjar)
Creates a new EjbJarModifier object.

Parameters:
ejbjar - EjbJar Archive
Method Detail

modify

public Archive modify()
               throws GenBaseException
modify the current EjbJar. If EjbJar is contained in not an application and have webservices endpoints, A DummyApplication is created and modification process launched against the newly created application. If EjbJar is contained in an application + webservices endpoints, a DummyWebApp is created to hold "facade" servlet managing SOAP processing.

Specified by:
modify in class ArchiveModifier
Returns:
an EjbJar or an Application Archive
Throws:
GenBaseException - When generation or storing fails