Package com.sun.tools.ws
Class WsImport
- java.lang.Object
-
- com.sun.tools.ws.WsImport
-
public class WsImport extends Object
WsImport tool entry point.- Author:
- Vivek Pandey, Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description WsImport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intdoMain(String[] args)Entry point for tool integration.static voidmain(String[] args)CLI entry point.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws Throwable
CLI entry point. UseInvokerto 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 invokeSystem.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
-
-