org.apache.cxf.tools.java2wsdl.processor
Class JavaToWSDLProcessor

java.lang.Object
  extended by org.apache.cxf.tools.java2wsdl.processor.JavaToWSDLProcessor
All Implemented Interfaces:
org.apache.cxf.tools.common.Processor

public class JavaToWSDLProcessor
extends java.lang.Object
implements org.apache.cxf.tools.common.Processor


Constructor Summary
JavaToWSDLProcessor()
           
 
Method Summary
 void generate(org.apache.cxf.service.model.ServiceInfo service, java.io.File output)
           
static org.springframework.context.ApplicationContext getApplicationContext(org.apache.cxf.Bus bus, java.util.List<java.lang.String> additionalFilePathnames)
          This is factored out to permit use in a unit test.
protected  java.lang.String getBindingId()
           
 org.apache.cxf.Bus getBus()
           
 java.lang.String getDataBindingName()
           
 org.apache.cxf.tools.common.ToolContext getEnvironment()
           
protected  java.io.File getOutputDir(java.io.File wsdlLocation)
           
protected  java.io.File getOutputFile(java.io.File nameFromClz, java.lang.String defaultOutputFile)
           
 org.apache.cxf.service.ServiceBuilder getServiceBuilder()
           
 java.lang.Class<?> getServiceClass()
           
 java.lang.String getServiceName()
           
protected  java.lang.String getTransportId()
           
 org.apache.cxf.wsdl.WSDLConstants.WSDLVersion getWSDLVersion()
           
protected  boolean isSOAP12()
           
 void process()
           
 void setEnvironment(org.apache.cxf.tools.common.ToolContext env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaToWSDLProcessor

public JavaToWSDLProcessor()
Method Detail

getApplicationContext

public static org.springframework.context.ApplicationContext getApplicationContext(org.apache.cxf.Bus bus,
                                                                                   java.util.List<java.lang.String> additionalFilePathnames)
This is factored out to permit use in a unit test.

Parameters:
bus -
Returns:

process

public void process()
             throws org.apache.cxf.tools.common.ToolException
Specified by:
process in interface org.apache.cxf.tools.common.Processor
Throws:
org.apache.cxf.tools.common.ToolException

generate

public void generate(org.apache.cxf.service.model.ServiceInfo service,
                     java.io.File output)
              throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

getServiceBuilder

public org.apache.cxf.service.ServiceBuilder getServiceBuilder()
                                                        throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

getTransportId

protected java.lang.String getTransportId()

getBindingId

protected java.lang.String getBindingId()

isSOAP12

protected boolean isSOAP12()

getOutputDir

protected java.io.File getOutputDir(java.io.File wsdlLocation)

getOutputFile

protected java.io.File getOutputFile(java.io.File nameFromClz,
                                     java.lang.String defaultOutputFile)

getServiceClass

public java.lang.Class<?> getServiceClass()

getWSDLVersion

public org.apache.cxf.wsdl.WSDLConstants.WSDLVersion getWSDLVersion()

getServiceName

public java.lang.String getServiceName()

getBus

public org.apache.cxf.Bus getBus()

setEnvironment

public void setEnvironment(org.apache.cxf.tools.common.ToolContext env)
Specified by:
setEnvironment in interface org.apache.cxf.tools.common.Processor

getEnvironment

public org.apache.cxf.tools.common.ToolContext getEnvironment()

getDataBindingName

public java.lang.String getDataBindingName()


Apache CXF