Package org.apache.cxf.frontend
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
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractServiceFactory(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean sbean) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.cxf.service.model.ServiceInfoprotected Stringprotected org.apache.cxf.wsdl11.WSDLEndpointFactoryvoidsetServiceClass(Class<?> clz) Specifies the class implementing the service.voidvalidate()Methods inherited from class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
createBindingInfo, createEndpoint, createEndpointInfo, createSoapBindingConfig, getServiceClass, getServiceFactory, getWsdlURL, initializeServiceFactory, setServiceFactory, setWsdlURLMethods 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, setTransportIdMethods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptorsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
- Specified by:
detectTransportIdFromAddressin classAbstractWSDLBasedEndpointFactory
-
getWSDLEndpointFactory
protected org.apache.cxf.wsdl11.WSDLEndpointFactory getWSDLEndpointFactory()- Specified by:
getWSDLEndpointFactoryin classAbstractWSDLBasedEndpointFactory
-
createService
public org.apache.cxf.service.model.ServiceInfo createService()- Specified by:
createServicein interfaceorg.apache.cxf.service.ServiceBuilder
-
getOutputFile
- Specified by:
getOutputFilein interfaceorg.apache.cxf.service.ServiceBuilder
-
setServiceClass
Description copied from class:AbstractWSDLBasedEndpointFactorySpecifies the class implementing the service.- Specified by:
setServiceClassin interfaceorg.apache.cxf.service.ServiceBuilder- Overrides:
setServiceClassin classAbstractWSDLBasedEndpointFactory- Parameters:
clz- the service's implementaiton class
-
validate
public void validate()- Specified by:
validatein interfaceorg.apache.cxf.service.ServiceBuilder
-