Apache CXF API

org.apache.cxf.bus.spring
Class SpringBusFactory

java.lang.Object
  extended by org.apache.cxf.BusFactory
      extended by org.apache.cxf.bus.spring.SpringBusFactory

public class SpringBusFactory
extends BusFactory


Field Summary
 
Fields inherited from class org.apache.cxf.BusFactory
BUS_FACTORY_PROPERTY_NAME, DEFAULT_BUS_FACTORY, defaultBus, threadBusses
 
Constructor Summary
SpringBusFactory()
           
SpringBusFactory(org.springframework.context.ApplicationContext context)
           
 
Method Summary
 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)
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
 
Methods inherited from class org.apache.cxf.BusFactory
clearDefaultBusForAnyThread, getDefaultBus, getDefaultBus, getThreadDefaultBus, getThreadDefaultBus, initializeBus, newInstance, newInstance, possiblySetDefaultBus, setDefaultBus, setThreadDefaultBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBusFactory

public SpringBusFactory()

SpringBusFactory

public SpringBusFactory(org.springframework.context.ApplicationContext context)
Method Detail

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()

createBus

public Bus createBus()
Description copied from class: BusFactory
Creates a new bus. While concrete BusFactory may offer differently parameterized methods for creating a bus, all factories support this no-arg factory method.

Specified by:
createBus in class BusFactory
Returns:
the newly created bus.

createBus

public Bus createBus(String cfgFile)

createBus

public Bus createBus(String[] cfgFiles)

createBus

public Bus createBus(String cfgFile,
                     boolean includeDefaults)

createBus

public Bus createBus(String[] cfgFiles,
                     boolean includeDefaults)

createBus

public Bus createBus(URL url)

createBus

public Bus createBus(URL[] urls)

createBus

public Bus createBus(URL url,
                     boolean includeDefaults)

createBus

public Bus createBus(URL[] urls,
                     boolean includeDefaults)

Apache CXF API

Apache CXF