| java.lang.Object com.sun.tools.ws.spi.WSToolsObjectFactory
All known Subclasses: com.sun.tools.ws.util.WSToolsObjectFactoryImpl,
WSToolsObjectFactory | abstract public class WSToolsObjectFactory (Code) | | Singleton abstract factory used to produce JAX-WS tools related objects.
author: JAX-WS Development Team |
Method Summary | |
public static WSToolsObjectFactory | newInstance() Obtain an instance of a factory. | abstract public boolean | wsgen(OutputStream logStream, Container container, String[] args) Invokes wsgen on the endpoint implementation, and generates the necessary
artifacts like wrapper, exception bean classes etc. | public boolean | wsgen(OutputStream logStream, String[] args) Invokes wsgen on the endpoint implementation, and generates the necessary
artifacts like wrapper, exception bean classes etc. | abstract public boolean | wsimport(OutputStream logStream, Container container, String[] args) Invokes wsimport on the wsdl URL argument, and generates the necessary
portable artifacts like SEI, Service, Bean classes etc. | public boolean | wsimport(OutputStream logStream, String[] args) Invokes wsimport on the wsdl URL argument, and generates the necessary
portable artifacts like SEI, Service, Bean classes etc. |
newInstance | public static WSToolsObjectFactory newInstance()(Code) | | Obtain an instance of a factory. Don't worry about synchronization(at the
most, one more factory is created).
|
wsgen | abstract public boolean wsgen(OutputStream logStream, Container container, String[] args)(Code) | | Invokes wsgen on the endpoint implementation, and generates the necessary
artifacts like wrapper, exception bean classes etc.
Parameters: logStream - Stream used for reporting log messages like errors, warnings etc Parameters: container - gives an environment for tool if it is run during appserverdeployment Parameters: args - arguments with various options and endpoint class true if there is no error, otherwise false |
wsimport | abstract public boolean wsimport(OutputStream logStream, Container container, String[] args)(Code) | | Invokes wsimport on the wsdl URL argument, and generates the necessary
portable artifacts like SEI, Service, Bean classes etc.
Parameters: logStream - Stream used for reporting log messages like errors, warnings etc Parameters: container - gives an environment for tool if it is run during appserverdeployment Parameters: args - arguments with various options and wsdl url true if there is no error, otherwise false |
|
|