public class SpringBusFactory extends BusFactory
BUS_FACTORY_PROPERTY_NAME, DEFAULT_BUS_FACTORY, defaultBus, THREAD_BUS, THREAD_BUSSES
Constructor and Description |
---|
SpringBusFactory() |
SpringBusFactory(ApplicationContext context) |
SpringBusFactory(NamespaceHandlerResolver r) |
Modifier and Type | Method and Description |
---|---|
protected ConfigurableApplicationContext |
createAppContext(URL[] urls,
boolean includeDefaults) |
protected 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(ConfigurableApplicationContext bac) |
ApplicationContext |
getApplicationContext() |
void |
setNamespaceHandlerResolver(NamespaceHandlerResolver r) |
clearDefaultBusForAnyThread, getAndSetThreadDefaultBus, getDefaultBus, getDefaultBus, getThreadDefaultBus, getThreadDefaultBus, initializeBus, newInstance, newInstance, possiblySetDefaultBus, setDefaultBus, setThreadDefaultBus
public SpringBusFactory()
public SpringBusFactory(ApplicationContext context)
public SpringBusFactory(NamespaceHandlerResolver r)
public ApplicationContext getApplicationContext()
public void setNamespaceHandlerResolver(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(ConfigurableApplicationContext bac)
protected ConfigurableApplicationContext createApplicationContext(String[] cfgFiles, boolean includeDefaults)
protected ConfigurableApplicationContext createAppContext(URL[] urls, boolean includeDefaults)
Copyright © 2016 JBoss by Red Hat. All rights reserved.