Package org.apache.cxf.bus.extension
Class ExtensionManagerBus
java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.bus.extension.ExtensionManagerBus
- All Implemented Interfaces:
Bus
,InterceptorProvider
- Direct Known Subclasses:
BlueprintBus
,SpringBus
This bus uses CXF's built in extension manager to load components
(as opposed to using the Spring bus implementation). While this is faster
to load it doesn't allow extensive configuration and customization like
the Spring bus does.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cxf.Bus
Bus.BusState
-
Field Summary
Fields inherited from interface org.apache.cxf.Bus
DEFAULT_BUS_ID
-
Constructor Summary
ConstructorDescriptionExtensionManagerBus
(Map<Class<?>, Object> e) ExtensionManagerBus
(Map<Class<?>, Object> extensions, Map<String, Object> props, ClassLoader extensionClassLoader) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ConfiguredBeanLocator
protected void
protected void
final <T> T
getExtension
(Class<T> extensionType) getId()
getState()
boolean
hasExtensionByName
(String name) void
protected void
protected void
final <T> void
setExtension
(T extension, Class<T> extensionType) void
setFeatures
(Collection<? extends Feature> features) void
void
setProperties
(Map<String, Object> map) void
setProperty
(String s, Object o) protected final void
setState
(Bus.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 Details
-
BUS_PROPERTY_NAME
- See Also:
-
extensions
-
missingExtensions
-
id
-
-
Constructor Details
-
ExtensionManagerBus
-
ExtensionManagerBus
-
ExtensionManagerBus
-
ExtensionManagerBus
public ExtensionManagerBus()
-
-
Method Details
-
setState
-
setId
-
getExtension
- Specified by:
getExtension
in interfaceBus
-
hasExtensionByName
- Specified by:
hasExtensionByName
in interfaceBus
-
createConfiguredBeanLocator
-
setExtension
- Specified by:
setExtension
in interfaceBus
-
getId
-
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) -
getState
-
getFeatures
- Specified by:
getFeatures
in interfaceBus
-
setFeatures
- Specified by:
setFeatures
in interfaceBus
-
getProperties
- Specified by:
getProperties
in interfaceBus
-
setProperties
- Specified by:
setProperties
in interfaceBus
-
getProperty
- Specified by:
getProperty
in interfaceBus
-
setProperty
- Specified by:
setProperty
in interfaceBus
-