org.objectweb.jonas_lib.genclientstub.wrapper
Class ClientGenStubWrapper

java.lang.Object
  extended by org.objectweb.jonas_lib.genclientstub.wrapper.ClientGenStubWrapper

public class ClientGenStubWrapper
extends java.lang.Object

ClientGenStub wrapper Used to launch ClientGenStub in DeployFile of JSR 88

Author:
Florent Benoit

Constructor Summary
ClientGenStubWrapper()
          Empty constructor.
 
Method Summary
 java.lang.String callClientGenStubExecute(java.lang.String fileName)
          Wrapper around ClientstubGen.execute(String[]) method
 boolean callClientGenStubIsInputModifed()
          Wrapper around ClientGenStubGen.isModified() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientGenStubWrapper

public ClientGenStubWrapper()
Empty constructor.

Method Detail

callClientGenStubExecute

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

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

callClientGenStubIsInputModifed

public boolean callClientGenStubIsInputModifed()
                                        throws java.lang.Exception
Wrapper around ClientGenStubGen.isModified() method

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