org.ow2.jonas.generators.genclientstub.modifier
Class EjbJarModifier
java.lang.Object
org.ow2.jonas.generators.genbase.modifier.ArchiveModifier
org.ow2.jonas.generators.genclientstub.modifier.AbsArchiveModifier
org.ow2.jonas.generators.genclientstub.modifier.EjbJarModifier
public class EjbJarModifier
- extends AbsArchiveModifier
Modify a given EjbJar.
- Author:
- Florent Benoit
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbJarModifier
public EjbJarModifier(EjbJar ejbjar)
- Creates a new EjbJarModifier object.
- Parameters:
ejbjar
- EjbJar Archive
modify
public Archive modify()
throws GenBaseException,
ClientStubGenException
- 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 AbsArchiveModifier
- Returns:
- an EjbJar or an Application Archive
- Throws:
GenBaseException
- When generation or storing fails
ClientStubGenException
- When generation or storing fails
Copyright © 2010 OW2 Consortium. All Rights Reserved.