org.objectweb.jonas_ws.wsgen.wrapper
Class WsGenWrapper

java.lang.Object
  extended byorg.objectweb.jonas_ws.wsgen.wrapper.WsGenWrapper

public class WsGenWrapper
extends java.lang.Object

WSGen wrapper Used to launch WsGen in DeployFile ofr JSR 88

Author:
Florent Benoit

Constructor Summary
WsGenWrapper()
          Empty constructor.
 
Method Summary
 java.lang.String callWsGenExecute(java.lang.String fileName)
          Wrapper around WsGen.execute(String[]) method
 boolean callWsGenIsInputModifed()
          Wrapper around WsGen.isModified() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsGenWrapper

public WsGenWrapper()
Empty constructor.

Method Detail

callWsGenExecute

public java.lang.String callWsGenExecute(java.lang.String fileName)
                                  throws java.lang.Exception
Wrapper around WsGen.execute(String[]) method

Parameters:
fileName - name of the file
Returns:
name of the modified/built file
Throws:
java.lang.Exception - If WsGen fails or if Reflection errors occurs

callWsGenIsInputModifed

public boolean callWsGenIsInputModifed()
                                throws java.lang.Exception
Wrapper around WsGen.isModified() method

Returns:
true/false
Throws:
java.lang.Exception - If WsGen fails or if Reflection errors occurs