Package org.apache.cxf.bus.spring
Class SpringBusFactory
- java.lang.Object
- 
- org.apache.cxf.BusFactory
- 
- org.apache.cxf.bus.spring.SpringBusFactory
 
 
- 
 public class SpringBusFactory extends BusFactory 
- 
- 
Field Summary- 
Fields inherited from class org.apache.cxf.BusFactoryBUS_FACTORY_PROPERTY_NAME, DEFAULT_BUS_FACTORY, defaultBus, THREAD_BUS, THREAD_BUSSES
 
- 
 - 
Constructor SummaryConstructors Constructor Description SpringBusFactory()SpringBusFactory(org.springframework.beans.factory.xml.NamespaceHandlerResolver r)SpringBusFactory(org.springframework.context.ApplicationContext context)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.context.ConfigurableApplicationContextcreateAppContext(URL[] urls, boolean includeDefaults)protected org.springframework.context.ConfigurableApplicationContextcreateApplicationContext(String[] cfgFiles, boolean includeDefaults)BuscreateBus()Creates a new bus.BuscreateBus(String cfgFile)BuscreateBus(String[] cfgFiles)BuscreateBus(String[] cfgFiles, boolean includeDefaults)BuscreateBus(String cfgFile, boolean includeDefaults)BuscreateBus(URL url)BuscreateBus(URL[] urls)BuscreateBus(URL[] urls, boolean includeDefaults)BuscreateBus(URL url, boolean includeDefaults)protected BusfinishCreatingBus(org.springframework.context.ConfigurableApplicationContext bac)org.springframework.context.ApplicationContextgetApplicationContext()voidsetNamespaceHandlerResolver(org.springframework.beans.factory.xml.NamespaceHandlerResolver r)- 
Methods inherited from class org.apache.cxf.BusFactoryclearDefaultBusForAnyThread, getAndSetThreadDefaultBus, getDefaultBus, getDefaultBus, getThreadDefaultBus, getThreadDefaultBus, initializeBus, newInstance, newInstance, possiblySetDefaultBus, setDefaultBus, setThreadDefaultBus
 
- 
 
- 
- 
- 
Method Detail- 
getApplicationContextpublic org.springframework.context.ApplicationContext getApplicationContext() 
 - 
setNamespaceHandlerResolverpublic void setNamespaceHandlerResolver(org.springframework.beans.factory.xml.NamespaceHandlerResolver r) 
 - 
createBuspublic Bus createBus() Description copied from class:BusFactoryCreates a new bus. While concreteBusFactorymay offer differently parameterized methods for creating a bus, all factories support this no-arg factory method.- Specified by:
- createBusin class- BusFactory
- Returns:
- the newly created bus.
 
 - 
finishCreatingBusprotected Bus finishCreatingBus(org.springframework.context.ConfigurableApplicationContext bac) 
 - 
createApplicationContextprotected org.springframework.context.ConfigurableApplicationContext createApplicationContext(String[] cfgFiles, boolean includeDefaults) 
 - 
createAppContextprotected org.springframework.context.ConfigurableApplicationContext createAppContext(URL[] urls, boolean includeDefaults) 
 
- 
 
-