public class SpringBusFactory extends BusFactory
BUS_FACTORY_PROPERTY_NAME, DEFAULT_BUS_FACTORY, defaultBus, THREAD_BUS, THREAD_BUSSES
Constructor and Description |
---|
SpringBusFactory() |
SpringBusFactory(org.springframework.context.ApplicationContext context) |
SpringBusFactory(org.springframework.beans.factory.xml.NamespaceHandlerResolver r) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.context.ConfigurableApplicationContext |
createAppContext(URL[] urls,
boolean includeDefaults) |
protected org.springframework.context.ConfigurableApplicationContext |
createApplicationContext(String[] cfgFiles,
boolean includeDefaults) |
Bus |
createBus()
Creates a new bus.
|
Bus |
createBus(String cfgFile) |
Bus |
createBus(String[] cfgFiles) |
Bus |
createBus(String[] cfgFiles,
boolean includeDefaults) |
Bus |
createBus(String cfgFile,
boolean includeDefaults) |
Bus |
createBus(URL url) |
Bus |
createBus(URL[] urls) |
Bus |
createBus(URL[] urls,
boolean includeDefaults) |
Bus |
createBus(URL url,
boolean includeDefaults) |
protected Bus |
finishCreatingBus(org.springframework.context.ConfigurableApplicationContext bac) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setNamespaceHandlerResolver(org.springframework.beans.factory.xml.NamespaceHandlerResolver r) |
clearDefaultBusForAnyThread, getAndSetThreadDefaultBus, getDefaultBus, getDefaultBus, getThreadDefaultBus, getThreadDefaultBus, initializeBus, newInstance, newInstance, possiblySetDefaultBus, setDefaultBus, setThreadDefaultBus
public SpringBusFactory()
public SpringBusFactory(org.springframework.context.ApplicationContext context)
public SpringBusFactory(org.springframework.beans.factory.xml.NamespaceHandlerResolver r)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setNamespaceHandlerResolver(org.springframework.beans.factory.xml.NamespaceHandlerResolver r)
public Bus createBus()
BusFactory
BusFactory
may offer differently parameterized methods
for creating a bus, all factories support this no-arg factory method.createBus
in class BusFactory
protected Bus finishCreatingBus(org.springframework.context.ConfigurableApplicationContext bac)
protected org.springframework.context.ConfigurableApplicationContext createApplicationContext(String[] cfgFiles, boolean includeDefaults)
protected org.springframework.context.ConfigurableApplicationContext createAppContext(URL[] urls, boolean includeDefaults)
Apache CXF