org.apache.cxf.bus
Class CXFBusImpl
java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.bus.CXFBusImpl
- All Implemented Interfaces:
- org.apache.cxf.Bus, org.apache.cxf.interceptor.InterceptorProvider
- Direct Known Subclasses:
- ExtensionManagerBus
public class CXFBusImpl
- extends org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
- implements org.apache.cxf.Bus
| Fields inherited from interface org.apache.cxf.Bus |
DEFAULT_BUS_ID |
| 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 |
extensions
protected final Map<Class<?>,Object> extensions
id
protected String id
CXFBusImpl
public CXFBusImpl()
CXFBusImpl
public CXFBusImpl(Map<Class<?>,Object> extensions)
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 org.apache.cxf.Bus
hasExtensionByName
public boolean hasExtensionByName(String name)
- Specified by:
hasExtensionByName in interface org.apache.cxf.Bus
createConfiguredBeanLocator
protected org.apache.cxf.configuration.ConfiguredBeanLocator createConfiguredBeanLocator()
setExtension
public <T> void setExtension(T extension,
Class<T> extensionType)
- Specified by:
setExtension in interface org.apache.cxf.Bus
getId
public String getId()
- Specified by:
getId in interface org.apache.cxf.Bus
run
public void run()
- Specified by:
run in interface org.apache.cxf.Bus
initialize
public void initialize()
doInitializeInternal
protected void doInitializeInternal()
loadAdditionalFeatures
protected void loadAdditionalFeatures()
initializeFeatures
protected void initializeFeatures()
shutdown
public void shutdown()
destroyBeans
protected void destroyBeans()
shutdown
public void shutdown(boolean wait)
- Specified by:
shutdown in interface org.apache.cxf.Bus
getState
public BusState getState()
getFeatures
public Collection<org.apache.cxf.feature.AbstractFeature> getFeatures()
- Specified by:
getFeatures in interface org.apache.cxf.Bus
setFeatures
public void setFeatures(Collection<org.apache.cxf.feature.AbstractFeature> features)
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties in interface org.apache.cxf.Bus
setProperties
public void setProperties(Map<String,Object> map)
getProperty
public Object getProperty(String s)
- Specified by:
getProperty in interface org.apache.cxf.Bus
setProperty
public void setProperty(String s,
Object o)
- Specified by:
setProperty in interface org.apache.cxf.Bus
Apache CXF