Package org.apache.cxf.frontend.spring
Class ServerFactoryBeanDefinitionParser.SpringServerFactoryBean
java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.endpoint.AbstractEndpointFactory
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
org.apache.cxf.frontend.ServerFactoryBean
org.apache.cxf.frontend.spring.ServerFactoryBeanDefinitionParser.SpringServerFactoryBean
- All Implemented Interfaces:
org.apache.cxf.interceptor.InterceptorProvider
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Enclosing class:
- ServerFactoryBeanDefinitionParser
public static class ServerFactoryBeanDefinitionParser.SpringServerFactoryBean
extends ServerFactoryBean
implements org.springframework.context.ApplicationContextAware
-
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
ConstructorsConstructorDescriptionSpringServerFactoryBean
(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean fact) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.cxf.endpoint.Server
create()
void
destroy()
org.apache.cxf.endpoint.Server
For subclasses that hold onto the created Server, this will return the singleton server.void
init()
void
setApplicationContext
(org.springframework.context.ApplicationContext ctx) Methods inherited from class org.apache.cxf.frontend.ServerFactoryBean
applyFeatures, createInvoker, detectTransportIdFromAddress, getBeanName, getInvoker, getSchemaLocations, getServiceBean, getServiceBeanClass, getWSDLEndpointFactory, getWsdlLocation, initializeServiceFactory, isStart, setInvoker, setSchemaLocations, setServiceBean, setStart, setWsdlLocation
Methods inherited from class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
createBindingInfo, createEndpoint, createEndpointInfo, createSoapBindingConfig, getServiceClass, getServiceFactory, getWsdlURL, setServiceClass, 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
-
Constructor Details
-
SpringServerFactoryBean
public SpringServerFactoryBean() -
SpringServerFactoryBean
public SpringServerFactoryBean(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean fact)
-
-
Method Details
-
getServer
public org.apache.cxf.endpoint.Server getServer()Description copied from class:ServerFactoryBean
For subclasses that hold onto the created Server, this will return the singleton server. Default returns null as the default factories do not hold onto the server and will create a new one for each call to create();- Overrides:
getServer
in classServerFactoryBean
- Returns:
-
init
public void init() -
create
public org.apache.cxf.endpoint.Server create()- Overrides:
create
in classServerFactoryBean
-
destroy
public void destroy() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-