org.apache.cxf.tools.java2wsdl.processor.internal
Class ServiceBuilderFactory

java.lang.Object
  extended by org.apache.cxf.tools.java2wsdl.processor.internal.ServiceBuilderFactory

public final class ServiceBuilderFactory
extends java.lang.Object

This class constructs ServiceBuilder objects. These objects are used to access the services and the data bindings to generate the wsdl.


Method Summary
static java.lang.String databindingNameToBeanName(java.lang.String dbName)
          Convert a parameter value to the name of a bean we'd use for a data binding.
protected  java.lang.String getBuilderBeanName(FrontendFactory.Style s)
          Return the name of a prototype bean from Spring that can provide the service.
 java.lang.String getDatabindingName()
          Return the databinding name.
static ServiceBuilderFactory getInstance()
           
 FrontendFactory.Style getStyle()
           
 ServiceBuilder newBuilder(org.springframework.context.ApplicationContext applicationContext)
           
 ServiceBuilder newBuilder(org.springframework.context.ApplicationContext applicationContext, FrontendFactory.Style s)
           
 void setDatabindingName(java.lang.String arg)
          Set the databinding name
 void setServiceClass(java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServiceBuilderFactory getInstance()

newBuilder

public ServiceBuilder newBuilder(org.springframework.context.ApplicationContext applicationContext)

databindingNameToBeanName

public static java.lang.String databindingNameToBeanName(java.lang.String dbName)
Convert a parameter value to the name of a bean we'd use for a data binding.

Parameters:
databindingName -
Returns:

newBuilder

public ServiceBuilder newBuilder(org.springframework.context.ApplicationContext applicationContext,
                                 FrontendFactory.Style s)

getBuilderBeanName

protected java.lang.String getBuilderBeanName(FrontendFactory.Style s)
Return the name of a prototype bean from Spring that can provide the service. The use of a bean allows for the possibility of an override.

Parameters:
s - Style of service
Returns:
name of bean.

getStyle

public FrontendFactory.Style getStyle()

setServiceClass

public void setServiceClass(java.lang.Class c)

getDatabindingName

public java.lang.String getDatabindingName()
Return the databinding name.

Returns:

setDatabindingName

public void setDatabindingName(java.lang.String arg)
Set the databinding name

Parameters:
databindingName -


Apache CXF