com.sun.tools.ws
Class WsGen
java.lang.Object
com.sun.tools.ws.WsGen
public class WsGen
- extends Object
WsGen tool entry point.
|
Constructor Summary |
WsGen()
|
|
Method Summary |
static int |
doMain(String[] args)
Entry point for tool integration. |
static void |
main(String[] args)
CLI entry point. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsGen
public WsGen()
main
public static void main(String[] args)
throws Throwable
- CLI entry point. Use
Invoker to
load tools.jar
- 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, including $JAVA_HOME/lib/tools.jar
- Returns:
- 0 if the tool runs successfully.
- Throws:
Throwable
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.