Class AbstractServiceFactory

java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.endpoint.AbstractEndpointFactory
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    AbstractServiceFactory(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean sbean)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.cxf.service.model.ServiceInfo
     
    protected String
     
     
    protected org.apache.cxf.wsdl11.WSDLEndpointFactory
     
    void
    Specifies the class implementing the service.
    void
     

    Methods inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory

    addToBeans, 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 Details

    • AbstractServiceFactory

      protected AbstractServiceFactory()
    • AbstractServiceFactory

      protected AbstractServiceFactory(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean sbean)
  • Method Details

    • 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