org.ow2.jonas.generators.genclientstub.modifier
Class AbsArchiveModifier
java.lang.Object
org.ow2.jonas.generators.genbase.modifier.ArchiveModifier
org.ow2.jonas.generators.genclientstub.modifier.AbsArchiveModifier
- Direct Known Subclasses:
- ClientModifier, EjbJarModifier, WebAppModifier
public abstract class AbsArchiveModifier
- extends ArchiveModifier
Defines common methods used by all modifier
Method Summary |
protected void |
generateFoundStubs(Config config,
Archive archive)
Generates stub/tie classes for a given archive with its config |
abstract Archive |
modify()
Modify the current archive and return a modified archive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbsArchiveModifier
public AbsArchiveModifier(J2EEArchive archive)
- Constructor
- Parameters:
archive
- the j2ee archive
modify
public abstract 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 Client Generation or storing phase fails.
generateFoundStubs
protected void generateFoundStubs(Config config,
Archive archive)
throws ClientStubGenException
- Generates stub/tie classes for a given archive with its config
- Parameters:
config
- configuration to use for the generatorarchive
- the file containing the remote class
- Throws:
ClientStubGenException
- if the generation fails
Copyright © 2010 OW2 Consortium. All Rights Reserved.