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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractServiceFactory()
protected
AbstractServiceFactory(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean sbean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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
-
-
-
-
Method Detail
-
detectTransportIdFromAddress
protected String detectTransportIdFromAddress(String ad)
- Specified by:
detectTransportIdFromAddress
in classAbstractWSDLBasedEndpointFactory
-
getWSDLEndpointFactory
protected org.apache.cxf.wsdl11.WSDLEndpointFactory getWSDLEndpointFactory()
- Specified by:
getWSDLEndpointFactory
in classAbstractWSDLBasedEndpointFactory
-
createService
public org.apache.cxf.service.model.ServiceInfo createService()
- Specified by:
createService
in interfaceorg.apache.cxf.service.ServiceBuilder
-
getOutputFile
public File getOutputFile()
- Specified by:
getOutputFile
in interfaceorg.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 interfaceorg.apache.cxf.service.ServiceBuilder
- Overrides:
setServiceClass
in classAbstractWSDLBasedEndpointFactory
- Parameters:
clz
- the service's implementaiton class
-
validate
public void validate()
- Specified by:
validate
in interfaceorg.apache.cxf.service.ServiceBuilder
-
-