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:
org.apache.cxf.interceptor.InterceptorProvider, org.apache.cxf.service.ServiceBuilder
Direct Known Subclasses:
SimpleServiceBuilder

public abstract class AbstractServiceFactory
extends AbstractWSDLBasedEndpointFactory
implements org.apache.cxf.service.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(org.apache.cxf.service.factory.ReflectionServiceFactoryBean sbean)
           
 
Method Summary
 org.apache.cxf.service.model.ServiceInfo createService()
           
protected  String detectTransportIdFromAddress(String ad)
           
 File getOutputFile()
           
protected  org.apache.cxf.wsdl11.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, 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(org.apache.cxf.service.factory.ReflectionServiceFactoryBean sbean)
Method Detail

detectTransportIdFromAddress

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

getWSDLEndpointFactory

protected org.apache.cxf.wsdl11.WSDLEndpointFactory getWSDLEndpointFactory()
Specified by:
getWSDLEndpointFactory in class AbstractWSDLBasedEndpointFactory

createService

public org.apache.cxf.service.model.ServiceInfo createService()
Specified by:
createService in interface org.apache.cxf.service.ServiceBuilder

getOutputFile

public File getOutputFile()
Specified by:
getOutputFile in interface org.apache.cxf.service.ServiceBuilder

setServiceClass

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

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

validate

public void validate()
Specified by:
validate in interface org.apache.cxf.service.ServiceBuilder


Apache CXF