org.objectweb.jonas_lib.genclientstub.modifier
Class ModifierFactory
java.lang.Object
org.objectweb.jonas_lib.genbase.modifier.AbsModifierFactory
org.objectweb.jonas_lib.genclientstub.modifier.ModifierFactory
public class ModifierFactory
- extends AbsModifierFactory
Used to create the right ArchiveModifier from a given filename (ear, jar,
war, ...)
- Author:
- Guillaume Sauthier
Method Summary |
static ArchiveModifier |
getModifier(String filename)
Returns an ArchiveModifier according to archive type
(application, ejbjar, webapp or client). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getModifier
public static ArchiveModifier getModifier(String filename)
throws GenBaseException
- Returns an
ArchiveModifier
according to archive type
(application, ejbjar, webapp or client).
- Parameters:
filename
- input filename.
- Returns:
- an
ArchiveModifier
.
- Throws:
GenBaseException
- when archive creation fails.
Copyright © 2007 OW2 Consortium. All Rights Reserved.