Class WsGen

java.lang.Object
com.sun.tools.ws.WsGen

public final class WsGen extends Object
WsGen tool entry point.
Author:
Vivek Pandey, Kohsuke Kawaguchi
  • Method Details

    • main

      public static void main(String[] args) throws Throwable
      CLI entry point. Use Invoker to load proper API version
      Throws:
      Throwable
    • doMain

      public static int doMain(String[] args) throws Throwable
      Entry point for tool integration.

      This does the same as main(String[]) except it doesn't invoke System.exit(int). This method also doesn't play with classloaders. It's the caller's responsibility to set up the classloader to load all jars needed to run the tool.

      Returns:
      0 if the tool runs successfully.
      Throws:
      Throwable