org.objectweb.jonas_ws.wsgen.modifier
Class ModifierFactory

java.lang.Object
  extended byorg.objectweb.jonas_ws.wsgen.modifier.ModifierFactory

public class ModifierFactory
extends java.lang.Object

Used to create the right ArchiveModifier from a given filename (ear, jar, war, ...)

Author:
Guillaume Sauthier

Constructor Summary
ModifierFactory()
           
 
Method Summary
static ArchiveModifier getModifier(java.lang.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
 

Constructor Detail

ModifierFactory

public ModifierFactory()
Method Detail

getModifier

public static ArchiveModifier getModifier(java.lang.String filename)
                                   throws WsGenException
Returns an ArchiveModifier according to archive type (application, ejbjar, webapp or client).

Parameters:
filename - input filename.
Returns:
an ArchiveModifier.
Throws:
WsGenException - when archive creation fails.