public class SpringBusHolder extends BusHolder
Modifier and Type | Field and Description |
---|---|
protected List<org.springframework.context.support.GenericApplicationContext> |
additionalCtx |
protected URL[] |
additionalLocations |
protected org.apache.cxf.bus.spring.BusApplicationContext |
ctx |
bus, busHolderListener, PARAM_CXF_BEANS_URL
Constructor and Description |
---|
SpringBusHolder(URL location,
URL... additionalLocations) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Performs close operations (currently implies destroying additional contexts)
|
void |
configure(org.apache.cxf.binding.soap.SoapTransportFactory soapTransportFactory,
org.apache.cxf.resource.ResourceResolver resolver,
org.apache.cxf.configuration.Configurer configurer,
org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData wsmd)
Update the Bus held by the this instance using the provided parameters.
|
protected void |
createBus(URL location)
Creates the Bus using a SpringBusFactory with no specific Spring application context.
|
org.apache.cxf.configuration.Configurer |
createServerConfigurer(org.jboss.ws.api.binding.BindingCustomization customization,
WSDLFilePublisher wsdlPublisher,
List<org.jboss.wsf.spi.deployment.Endpoint> depEndpoints,
org.jboss.wsf.spi.deployment.UnifiedVirtualFile root,
String epConfigName,
String epConfigFile)
A convenient method for getting a jbossws cxf server configurer
|
protected org.springframework.context.support.GenericApplicationContext |
loadAdditionalConfig(org.springframework.context.ApplicationContext ctx,
URL locationUrl) |
protected void |
setBus(org.apache.cxf.Bus bus) |
getBus, setAdditionalWorkQueues, setInterceptors, setResourceResolver, setSoapTransportFactory
protected org.apache.cxf.bus.spring.BusApplicationContext ctx
protected List<org.springframework.context.support.GenericApplicationContext> additionalCtx
protected URL[] additionalLocations
protected void createBus(URL location)
location
- public void configure(org.apache.cxf.binding.soap.SoapTransportFactory soapTransportFactory, org.apache.cxf.resource.ResourceResolver resolver, org.apache.cxf.configuration.Configurer configurer, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData wsmd)
configure
in class BusHolder
soapTransportFactory
- The SoapTransportFactory to configure, if anyresolver
- The ResourceResolver to configure, if anyconfigurer
- The JBossWSCXFConfigurer to install in the bus, if anydep
- The current JBossWS-SPI Deploymentwsmd
- The current JBossWebservicesMetaData, if anypublic org.apache.cxf.configuration.Configurer createServerConfigurer(org.jboss.ws.api.binding.BindingCustomization customization, WSDLFilePublisher wsdlPublisher, List<org.jboss.wsf.spi.deployment.Endpoint> depEndpoints, org.jboss.wsf.spi.deployment.UnifiedVirtualFile root, String epConfigName, String epConfigFile)
BusHolder
createServerConfigurer
in class BusHolder
customization
- The binding customization to set in the configurer, if anywsdlPublisher
- The wsdl file publisher to set in the configurer, if anydepEndpoints
- The list of deployment endpointsepConfigName
- The endpoint configuration name, if anyepConfigFile
- The endpoint configuration file, if anyprotected org.springframework.context.support.GenericApplicationContext loadAdditionalConfig(org.springframework.context.ApplicationContext ctx, URL locationUrl) throws IOException
IOException
public void close()
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.