Package org.apache.cxf.bus.spring
Class SpringBusFactory
java.lang.Object
org.apache.cxf.BusFactory
org.apache.cxf.bus.spring.SpringBusFactory
-
Field Summary
Fields inherited from class org.apache.cxf.BusFactory
BUS_FACTORY_PROPERTY_NAME, DEFAULT_BUS_FACTORY, defaultBus, THREAD_BUS, THREAD_BUSSES
-
Constructor Summary
ConstructorDescriptionSpringBusFactory
(org.springframework.beans.factory.xml.NamespaceHandlerResolver r) SpringBusFactory
(org.springframework.context.ApplicationContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ConfigurableApplicationContext
createAppContext
(URL[] urls, boolean includeDefaults) protected org.springframework.context.ConfigurableApplicationContext
createApplicationContext
(String[] cfgFiles, boolean includeDefaults) Creates a new bus.protected Bus
finishCreatingBus
(org.springframework.context.ConfigurableApplicationContext bac) org.springframework.context.ApplicationContext
void
setNamespaceHandlerResolver
(org.springframework.beans.factory.xml.NamespaceHandlerResolver r) Methods inherited from class org.apache.cxf.BusFactory
clearDefaultBusForAnyThread, getAndSetThreadDefaultBus, getDefaultBus, getDefaultBus, getThreadDefaultBus, getThreadDefaultBus, initializeBus, newInstance, newInstance, possiblySetDefaultBus, setDefaultBus, setThreadDefaultBus
-
Constructor Details
-
SpringBusFactory
public SpringBusFactory() -
SpringBusFactory
public SpringBusFactory(org.springframework.context.ApplicationContext context) -
SpringBusFactory
public SpringBusFactory(org.springframework.beans.factory.xml.NamespaceHandlerResolver r)
-
-
Method Details
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
setNamespaceHandlerResolver
public void setNamespaceHandlerResolver(org.springframework.beans.factory.xml.NamespaceHandlerResolver r) -
createBus
Description copied from class:BusFactory
Creates a new bus. While concreteBusFactory
may offer differently parameterized methods for creating a bus, all factories support this no-arg factory method.- Specified by:
createBus
in classBusFactory
- Returns:
- the newly created bus.
-
createBus
-
createBus
-
finishCreatingBus
-
createBus
-
createBus
-
createApplicationContext
protected org.springframework.context.ConfigurableApplicationContext createApplicationContext(String[] cfgFiles, boolean includeDefaults) -
createBus
-
createBus
-
createBus
-
createBus
-
createAppContext
protected org.springframework.context.ConfigurableApplicationContext createAppContext(URL[] urls, boolean includeDefaults)
-