Package com.sun.tools.ws.util
Class WSToolsObjectFactoryImpl
java.lang.Object
com.sun.tools.ws.spi.WSToolsObjectFactory
com.sun.tools.ws.util.WSToolsObjectFactoryImpl
Factory implementation class to instantiate concrete objects for JAX-WS tools.
- Author:
- JAX-WS Development Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanwsgen(OutputStream logStream, com.sun.xml.ws.api.server.Container container, String[] args) Invokes wsgen on the endpoint implementation, and generates the necessary artifacts like wrapper, exception bean classes etc.booleanwsimport(OutputStream logStream, com.sun.xml.ws.api.server.Container container, String[] args) Invokes wsimport on the wsdl URL argument, and generates the necessary portable artifacts like SEI, Service, Bean classes etc.Methods inherited from class com.sun.tools.ws.spi.WSToolsObjectFactory
newInstance, wsgen, wsimport
-
Constructor Details
-
WSToolsObjectFactoryImpl
public WSToolsObjectFactoryImpl()
-
-
Method Details
-
wsimport
public boolean wsimport(OutputStream logStream, com.sun.xml.ws.api.server.Container container, String[] args) Description copied from class:WSToolsObjectFactoryInvokes wsimport on the wsdl URL argument, and generates the necessary portable artifacts like SEI, Service, Bean classes etc.- Specified by:
wsimportin classWSToolsObjectFactory- Parameters:
logStream- Stream used for reporting log messages like errors, warnings etccontainer- gives an environment for tool if it is run during appserver deploymentargs- arguments with various options and wsdl url- Returns:
- true if there is no error, otherwise false
-
wsgen
public boolean wsgen(OutputStream logStream, com.sun.xml.ws.api.server.Container container, String[] args) Description copied from class:WSToolsObjectFactoryInvokes wsgen on the endpoint implementation, and generates the necessary artifacts like wrapper, exception bean classes etc.- Specified by:
wsgenin classWSToolsObjectFactory- Parameters:
logStream- Stream used for reporting log messages like errors, warnings etccontainer- gives an environment for tool if it is run during appserver deploymentargs- arguments with various options and endpoint class- Returns:
- true if there is no error, otherwise false
-