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
-
-
Constructor Summary
Constructors Constructor Description SpringServerFactoryBean()SpringServerFactoryBean(org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean fact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.cxf.endpoint.Servercreate()voiddestroy()org.apache.cxf.endpoint.ServergetServer()For subclasses that hold onto the created Server, this will return the singleton server.voidinit()voidsetApplicationContext(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
-
-
-
-
Method Detail
-
getServer
public org.apache.cxf.endpoint.Server getServer()
Description copied from class:ServerFactoryBeanFor 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:
getServerin classServerFactoryBean- Returns:
-
init
public void init()
-
create
public org.apache.cxf.endpoint.Server create()
- Overrides:
createin classServerFactoryBean
-
destroy
public void destroy()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
-