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 |
protected URL |
jbosswsCxfLocation |
bus, busHolderListener, PARAM_CXF_BEANS_URL, PARAM_CXF_GEN_URL, policySetsListener| Constructor and Description |
|---|
SpringBusHolder(URL location,
URL jbosswscxf,
URL... additionalLocations) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Performs close operations (currently implies destroying additional contexts)
|
void |
configure(org.apache.cxf.resource.ResourceResolver resolver,
org.apache.cxf.configuration.Configurer configurer,
org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData wsmd,
ClassLoader depRuntimeClassLoader)
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 parent,
URL locationUrl) |
protected void |
setBus(org.apache.cxf.Bus bus) |
getBus, setAdditionalWorkQueues, setCXFManagement, setInterceptors, setResourceResolver, setWSDiscoveryprotected org.apache.cxf.bus.spring.BusApplicationContext ctx
protected List<org.springframework.context.support.GenericApplicationContext> additionalCtx
protected URL jbosswsCxfLocation
protected URL[] additionalLocations
protected void createBus(URL location)
location - public void configure(org.apache.cxf.resource.ResourceResolver resolver,
org.apache.cxf.configuration.Configurer configurer,
org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData wsmd,
ClassLoader depRuntimeClassLoader)
configure in class BusHolderresolver - The ResourceResolver to configure, if anyconfigurer - The JBossWSCXFConfigurer to install in the bus, if anydep - The current JBossWS-SPI Deploymentwsmd - The current JBossWebservicesMetaData, if anydepRuntimeClassLoader - The current deployment classloaderpublic 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)
BusHoldercreateServerConfigurer in class BusHoldercustomization - 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 parent,
URL locationUrl)
throws IOException
IOExceptionpublic void close()
Copyright © 2014 JBoss, by Red Hat. All rights reserved.