org.apache.cxf.tools.java2wsdl.processor.internal
Class SpringServiceBuilderFactory
java.lang.Object
org.apache.cxf.tools.java2wsdl.processor.internal.ServiceBuilderFactory
org.apache.cxf.tools.java2wsdl.processor.internal.SpringServiceBuilderFactory
public final class SpringServiceBuilderFactory
- extends ServiceBuilderFactory
This class constructs ServiceBuilder objects using Spring. These objects are used to access the services
and the data bindings to generate the wsdl.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringServiceBuilderFactory
public SpringServiceBuilderFactory(List<String> beanDefinitions)
SpringServiceBuilderFactory
public SpringServiceBuilderFactory()
databindingNameToBeanName
public static String databindingNameToBeanName(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(FrontendFactory.Style s)
- Specified by:
newBuilder
in class ServiceBuilderFactory
getBuilderBeanName
protected 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.
getApplicationContext
public static org.springframework.context.ApplicationContext getApplicationContext(List<String> additionalFilePathnames)
- This is factored out to permit use in a unit test.
- Parameters:
bus
-
- Returns:
setBeanDefinitions
public void setBeanDefinitions(List<String> beanDefinitions)
Apache CXF