Package org.apache.cxf.jaxws.spring
Class NamespaceHandler.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.jaxws.JaxWsServerFactoryBean
-
- org.apache.cxf.jaxws.spring.NamespaceHandler.SpringServerFactoryBean
-
- All Implemented Interfaces:
InterceptorProvider,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Enclosing class:
- NamespaceHandler
public static class NamespaceHandler.SpringServerFactoryBean extends JaxWsServerFactoryBean implements org.springframework.context.ApplicationContextAware
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.jaxws.JaxWsServerFactoryBean
doInit, handlers
-
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 Constructor Description SpringServerFactoryBean()SpringServerFactoryBean(JaxWsServiceFactoryBean fact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Servercreate()voiddestroy()ServergetServer()For subclasses that hold onto the created Server, this will return the singleton server.voidsetApplicationContext(org.springframework.context.ApplicationContext ctx)-
Methods inherited from class org.apache.cxf.jaxws.JaxWsServerFactoryBean
addHandlers, createBindingInfo, createInvoker, getHandlers, getJaxWsServiceFactory, initializeAnnotationInterceptors, injectResources, setBlockInjection, setBlockPostConstruct, setHandlers
-
Methods inherited from class org.apache.cxf.frontend.ServerFactoryBean
applyFeatures, detectTransportIdFromAddress, getBeanName, getInvoker, getSchemaLocations, getServiceBean, getServiceBeanClass, getWSDLEndpointFactory, getWsdlLocation, initializeServiceFactory, isStart, setInvoker, setSchemaLocations, setServiceBean, setStart, setWsdlLocation
-
Methods inherited from class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
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, 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 Detail
-
SpringServerFactoryBean
public SpringServerFactoryBean()
-
SpringServerFactoryBean
public SpringServerFactoryBean(JaxWsServiceFactoryBean fact)
-
-
Method Detail
-
getServer
public 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:
-
create
public Server create()
- Overrides:
createin classJaxWsServerFactoryBean
-
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
-
-