com.sun.tools.ws.util
Class WSToolsObjectFactoryImpl

java.lang.Object
  extended by com.sun.tools.ws.spi.WSToolsObjectFactory
      extended by com.sun.tools.ws.util.WSToolsObjectFactoryImpl

public class WSToolsObjectFactoryImpl
extends WSToolsObjectFactory

Factory implementation class to instantiate concrete objects for JAX-WS tools.


Constructor Summary
WSToolsObjectFactoryImpl()
           
 
Method Summary
 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.
 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.
 
Methods inherited from class com.sun.tools.ws.spi.WSToolsObjectFactory
newInstance, wsgen, wsimport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSToolsObjectFactoryImpl

public WSToolsObjectFactoryImpl()
Method Detail

wsimport

public boolean wsimport(OutputStream logStream,
                        Container container,
                        String[] args)
Description copied from class: WSToolsObjectFactory
Invokes wsimport on the wsdl URL argument, and generates the necessary portable artifacts like SEI, Service, Bean classes etc.

Specified by:
wsimport in class WSToolsObjectFactory
Parameters:
logStream - Stream used for reporting log messages like errors, warnings etc
container - gives an environment for tool if it is run during appserver deployment
args - arguments with various options and wsdl url
Returns:
true if there is no error, otherwise false

wsgen

public boolean wsgen(OutputStream logStream,
                     Container container,
                     String[] args)
Description copied from class: WSToolsObjectFactory
Invokes wsgen on the endpoint implementation, and generates the necessary artifacts like wrapper, exception bean classes etc.

Specified by:
wsgen in class WSToolsObjectFactory
Parameters:
logStream - Stream used for reporting log messages like errors, warnings etc
container - gives an environment for tool if it is run during appserver deployment
args - arguments with various options and endpoint class
Returns:
true if there is no error, otherwise false