org.apache.cxf.tools.java2js.processor
Class JavaToJSProcessor

java.lang.Object
  extended by org.apache.cxf.tools.java2js.processor.JavaToJSProcessor
All Implemented Interfaces:
Processor

public class JavaToJSProcessor
extends java.lang.Object
implements Processor


Constructor Summary
JavaToJSProcessor()
           
 
Method Summary
static org.springframework.context.ApplicationContext getApplicationContext(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()
           
 Bus getBus()
           
 java.lang.String getDataBindingName()
           
 ToolContext getEnvironment()
           
protected  java.io.File getOutputDir(java.io.File wsdlLocation)
           
protected  java.io.File getOutputFile(java.io.File nameFromClz, java.lang.String defaultOutputFile)
           
 ServiceBuilder getServiceBuilder()
           
 java.lang.Class<?> getServiceClass()
           
 java.lang.String getServiceName()
           
protected  java.lang.String getTransportId()
           
 WSDLConstants.WSDLVersion getWSDLVersion()
           
protected  boolean isSOAP12()
           
 void process()
           
 void setEnvironment(ToolContext env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaToJSProcessor

public JavaToJSProcessor()
Method Detail

getApplicationContext

public static org.springframework.context.ApplicationContext getApplicationContext(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 ToolException
Specified by:
process in interface Processor
Throws:
ToolException

getServiceBuilder

public ServiceBuilder getServiceBuilder()
                                 throws ToolException
Throws:
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 WSDLConstants.WSDLVersion getWSDLVersion()

getServiceName

public java.lang.String getServiceName()

getBus

public Bus getBus()

setEnvironment

public void setEnvironment(ToolContext env)
Specified by:
setEnvironment in interface Processor

getEnvironment

public ToolContext getEnvironment()

getDataBindingName

public java.lang.String getDataBindingName()


Apache CXF