Apache CXF API

org.apache.cxf.bus
Class CXFBusImpl

java.lang.Object
  extended by org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
      extended by org.apache.cxf.bus.CXFBusImpl
All Implemented Interfaces:
Bus, InterceptorProvider
Direct Known Subclasses:
ExtensionManagerBus

public class CXFBusImpl
extends AbstractBasicInterceptorProvider
implements Bus


Nested Class Summary
static interface CXFBusImpl.ExtensionFinder
           
 
Field Summary
protected  Map<Class,Object> extensions
           
protected  String id
           
 
Fields inherited from interface org.apache.cxf.Bus
DEFAULT_BUS_ID
 
Constructor Summary
CXFBusImpl()
           
CXFBusImpl(Map<Class,Object> extensions)
           
 
Method Summary
protected  ConfiguredBeanLocator createConfiguredBeanLocator()
           
protected  void destroyBeans()
           
<T> T
getExtension(Class<T> extensionType)
           
 Collection<AbstractFeature> getFeatures()
           
 String getId()
           
 Map<String,Object> getProperties()
           
 Object getProperty(String s)
           
protected  BusState getState()
           
 void initialize()
           
protected  void initializeFeatures()
           
 void run()
           
<T> void
setExtension(T extension, Class<T> extensionType)
           
 void setFeatures(Collection<AbstractFeature> features)
           
 void setId(String i)
           
 void setProperties(Map<String,Object> map)
           
 void setProperty(String s, Object o)
           
protected  void setState(BusState state)
           
 void shutdown()
           
 void shutdown(boolean wait)
           
 
Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
 

Field Detail

extensions

protected final Map<Class,Object> extensions

id

protected String id
Constructor Detail

CXFBusImpl

public CXFBusImpl()

CXFBusImpl

public CXFBusImpl(Map<Class,Object> extensions)
Method Detail

setState

protected void setState(BusState state)

setId

public void setId(String i)

getExtension

public final <T> T getExtension(Class<T> extensionType)
Specified by:
getExtension in interface Bus

createConfiguredBeanLocator

protected ConfiguredBeanLocator createConfiguredBeanLocator()

setExtension

public <T> void setExtension(T extension,
                             Class<T> extensionType)
Specified by:
setExtension in interface Bus

getId

public String getId()
Specified by:
getId in interface Bus

run

public void run()
Specified by:
run in interface Bus

initialize

public void initialize()

initializeFeatures

protected void initializeFeatures()

shutdown

public void shutdown()

destroyBeans

protected void destroyBeans()

shutdown

public void shutdown(boolean wait)
Specified by:
shutdown in interface Bus

getState

protected BusState getState()

getFeatures

public Collection<AbstractFeature> getFeatures()
Specified by:
getFeatures in interface Bus

setFeatures

public void setFeatures(Collection<AbstractFeature> features)

getProperties

public Map<String,Object> getProperties()
Specified by:
getProperties in interface Bus

setProperties

public void setProperties(Map<String,Object> map)

getProperty

public Object getProperty(String s)
Specified by:
getProperty in interface Bus

setProperty

public void setProperty(String s,
                        Object o)
Specified by:
setProperty in interface Bus

Apache CXF API

Apache CXF