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:
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 ClassesNested classes/interfaces inherited from interface org.apache.cxf.Bus
Bus.BusState -
Field Summary
FieldsFields inherited from interface org.apache.cxf.Bus
DEFAULT_BUS_ID -
Constructor Summary
ConstructorsConstructorDescriptionExtensionManagerBus(Map<Class<?>, Object> e) ExtensionManagerBus(Map<Class<?>, Object> extensions, Map<String, Object> props, ClassLoader extensionClassLoader) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ConfiguredBeanLocatorprotected voidprotected voidfinal <T> TgetExtension(Class<T> extensionType) getId()getState()booleanhasExtensionByName(String name) voidprotected voidprotected voidfinal <T> voidsetExtension(T extension, Class<T> extensionType) voidsetFeatures(Collection<? extends Feature> features) voidvoidsetProperties(Map<String, Object> map) voidsetProperty(String s, Object o) protected final voidsetState(Bus.BusState state) voidshutdown()voidshutdown(boolean wait) Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptorsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getExtensionin interfaceBus
-
hasExtensionByName
- Specified by:
hasExtensionByNamein interfaceBus
-
createConfiguredBeanLocator
-
setExtension
- Specified by:
setExtensionin 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:
getFeaturesin interfaceBus
-
setFeatures
- Specified by:
setFeaturesin interfaceBus
-
getProperties
- Specified by:
getPropertiesin interfaceBus
-
setProperties
- Specified by:
setPropertiesin interfaceBus
-
getProperty
- Specified by:
getPropertyin interfaceBus
-
setProperty
- Specified by:
setPropertyin interfaceBus
-