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:
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
Constructors Modifier Constructor Description protectedAbstractServiceFactory()protectedAbstractServiceFactory(ReflectionServiceFactoryBean sbean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceInfocreateService()protected StringdetectTransportIdFromAddress(String ad)FilegetOutputFile()protected WSDLEndpointFactorygetWSDLEndpointFactory()voidsetServiceClass(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, 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
-
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:
detectTransportIdFromAddressin classAbstractWSDLBasedEndpointFactory
-
getWSDLEndpointFactory
protected WSDLEndpointFactory getWSDLEndpointFactory()
- Specified by:
getWSDLEndpointFactoryin classAbstractWSDLBasedEndpointFactory
-
createService
public ServiceInfo createService()
- Specified by:
createServicein interfaceServiceBuilder
-
getOutputFile
public File getOutputFile()
- Specified by:
getOutputFilein interfaceServiceBuilder
-
setServiceClass
public void setServiceClass(Class<?> clz)
Description copied from class:AbstractWSDLBasedEndpointFactorySpecifies the class implementing the service.- Specified by:
setServiceClassin interfaceServiceBuilder- Overrides:
setServiceClassin classAbstractWSDLBasedEndpointFactory- Parameters:
clz- the service's implementaiton class
-
validate
public void validate()
- Specified by:
validatein interfaceServiceBuilder
-
-