Apache CXF API

org.apache.cxf.frontend
Class AbstractServiceFactory

java.lang.Object
  extended by org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
      extended by org.apache.cxf.endpoint.AbstractEndpointFactory
          extended by org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
              extended by org.apache.cxf.frontend.AbstractServiceFactory
All Implemented Interfaces:
InterceptorProvider, ServiceBuilder
Direct Known Subclasses:
JaxwsServiceBuilder, SimpleServiceBuilder

public abstract class AbstractServiceFactory
extends AbstractWSDLBasedEndpointFactory
implements ServiceBuilder


Field Summary
 
Fields inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory
address, bindingConfig, bindingFactory, bindingId, bus, conduitSelector, dataBinding, destinationFactory, endpointName, endpointReference, features, properties, publishedEndpointUrl, serviceName, transportId
 
Constructor Summary
protected AbstractServiceFactory()
           
protected AbstractServiceFactory(ReflectionServiceFactoryBean sbean)
           
 
Method Summary
 ServiceInfo createService()
           
protected  String detectTransportIdFromAddress(String ad)
           
 File getOutputFile()
           
protected  WSDLEndpointFactory getWSDLEndpointFactory()
           
 void setServiceClass(Class clz)
          Specifies the class implementing the service.
 void validate()
           
 
Methods inherited from class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
createBindingInfo, createEndpoint, createEndpointInfo, createSoapBindingConfig, getServiceClass, getServiceFactory, getWsdlURL, initializeServiceFactory, setServiceFactory, setWsdlURL
 
Methods inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory
checkPrivateEndpoint, getAddress, getBindingConfig, getBindingFactory, getBindingId, getBus, getConduitSelector, getDataBinding, getDestinationFactory, getEndpointName, getFeatures, getProperties, getProperties, getPublishedEndpointUrl, getServiceName, getTransportId, initializeAnnotationInterceptors, initializeAnnotationInterceptors, initializeAnnotationInterceptors, setAddress, setBindingConfig, setBindingFactory, setBindingId, setBus, setConduitSelector, setDataBinding, setDestinationFactory, setEndpointName, setEndpointReference, setFeatures, setProperties, setPublishedEndpointUrl, setServiceName, setTransportId
 
Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.service.ServiceBuilder
setAddress, setBindingId, setBus, setTransportId
 

Constructor Detail

AbstractServiceFactory

protected AbstractServiceFactory()

AbstractServiceFactory

protected AbstractServiceFactory(ReflectionServiceFactoryBean sbean)
Method Detail

detectTransportIdFromAddress

protected String detectTransportIdFromAddress(String ad)
Specified by:
detectTransportIdFromAddress in class AbstractWSDLBasedEndpointFactory

getWSDLEndpointFactory

protected WSDLEndpointFactory getWSDLEndpointFactory()
Specified by:
getWSDLEndpointFactory in class AbstractWSDLBasedEndpointFactory

createService

public ServiceInfo createService()
Specified by:
createService in interface ServiceBuilder

getOutputFile

public File getOutputFile()
Specified by:
getOutputFile in interface ServiceBuilder

setServiceClass

public void setServiceClass(Class clz)
Description copied from class: AbstractWSDLBasedEndpointFactory
Specifies the class implementing the service.

Specified by:
setServiceClass in interface ServiceBuilder
Overrides:
setServiceClass in class AbstractWSDLBasedEndpointFactory
Parameters:
clz - the service's implementaiton class

validate

public void validate()
Specified by:
validate in interface ServiceBuilder

Apache CXF API

Apache CXF