org.ow2.jonas.generators.genclientstub
Class ClientStubGen

java.lang.Object
  extended by org.ow2.jonas.generators.genclientstub.ClientStubGen

public class ClientStubGen
extends Object

Main class of the client stub generator Class. Some code come from WsGen classes (Guillaume Sauthier)

Author:
Florent Benoit

Constructor Summary
ClientStubGen()
          Private Constructor for Utility class.
 
Method Summary
 String execute(Config config, org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
          Method used by main method and by external class to retrieve the name of the modified or created file by ClientStubGen.
 String execute(String[] args)
          Method used by main method and by external class to retrieve the name of the modified or created file by ClientStubGen.
 boolean isInputModified()
           
static void main(String[] args)
          Main method.
static void usage()
          Display the usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientStubGen

public ClientStubGen()
Private Constructor for Utility class.

Method Detail

main

public static void main(String[] args)
                 throws Exception
Main method.

Parameters:
args - Commend line args
Throws:
Exception - When the execute method fails

execute

public String execute(String[] args)
               throws Exception
Method used by main method and by external class to retrieve the name of the modified or created file by ClientStubGen.

Parameters:
args - command line arguments
Returns:
the name of the modified or built
Throws:
Exception - When a failure occurs

execute

public String execute(Config config,
                      org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
               throws Exception
Method used by main method and by external class to retrieve the name of the modified or created file by ClientStubGen.

Parameters:
config - the given config
deployable - the deployable to analyze
Returns:
the name of the modified or built
Throws:
Exception - When a failure occurs

usage

public static void usage()
Display the usage.


isInputModified

public boolean isInputModified()
Returns:
the inputModified flag


Copyright © 2010 OW2 Consortium. All Rights Reserved.