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
 
 public class ExtensionManagerBus extends AbstractBasicInterceptorProvider implements Bus 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 SummaryNested Classes Modifier and Type Class Description static interfaceExtensionManagerBus.ExtensionFinder- 
Nested classes/interfaces inherited from interface org.apache.cxf.BusBus.BusState
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringBUS_PROPERTY_NAMEprotected Map<Class<?>,Object>extensionsprotected Stringidprotected Set<Class<?>>missingExtensions- 
Fields inherited from interface org.apache.cxf.BusDEFAULT_BUS_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExtensionManagerBus()ExtensionManagerBus(Map<Class<?>,Object> e)ExtensionManagerBus(Map<Class<?>,Object> e, Map<String,Object> properties)ExtensionManagerBus(Map<Class<?>,Object> extensions, Map<String,Object> props, ClassLoader extensionClassLoader)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfiguredBeanLocatorcreateConfiguredBeanLocator()protected voiddestroyBeans()protected voiddoInitializeInternal()<T> TgetExtension(Class<T> extensionType)Collection<Feature>getFeatures()StringgetId()Map<String,Object>getProperties()ObjectgetProperty(String s)Bus.BusStategetState()booleanhasExtensionByName(String name)voidinitialize()protected voidinitializeFeatures()protected voidloadAdditionalFeatures()<T> voidsetExtension(T extension, Class<T> extensionType)voidsetFeatures(Collection<? extends Feature> features)voidsetId(String i)voidsetProperties(Map<String,Object> map)voidsetProperty(String s, Object o)protected voidsetState(Bus.BusState state)voidshutdown()voidshutdown(boolean wait)- 
Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvidergetInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvidergetInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
 
- 
 
- 
- 
- 
Constructor Detail- 
ExtensionManagerBuspublic ExtensionManagerBus(Map<Class<?>,Object> extensions, Map<String,Object> props, ClassLoader extensionClassLoader) 
 - 
ExtensionManagerBuspublic ExtensionManagerBus(Map<Class<?>,Object> e, Map<String,Object> properties) 
 - 
ExtensionManagerBuspublic ExtensionManagerBus() 
 
- 
 - 
Method Detail- 
setStateprotected final void setState(Bus.BusState state) 
 - 
getExtensionpublic final <T> T getExtension(Class<T> extensionType) - Specified by:
- getExtensionin interface- Bus
 
 - 
hasExtensionByNamepublic boolean hasExtensionByName(String name) - Specified by:
- hasExtensionByNamein interface- Bus
 
 - 
createConfiguredBeanLocatorprotected final ConfiguredBeanLocator createConfiguredBeanLocator() 
 - 
setExtensionpublic final <T> void setExtension(T extension, Class<T> extensionType)- Specified by:
- setExtensionin interface- Bus
 
 - 
initializepublic void initialize() 
 - 
doInitializeInternalprotected void doInitializeInternal() 
 - 
loadAdditionalFeaturesprotected void loadAdditionalFeatures() 
 - 
initializeFeaturesprotected void initializeFeatures() 
 - 
shutdownpublic void shutdown() 
 - 
destroyBeansprotected void destroyBeans() 
 - 
getStatepublic Bus.BusState getState() 
 - 
getFeaturespublic Collection<Feature> getFeatures() - Specified by:
- getFeaturesin interface- Bus
 
 - 
setFeaturespublic void setFeatures(Collection<? extends Feature> features) - Specified by:
- setFeaturesin interface- Bus
 
 - 
getPropertiespublic Map<String,Object> getProperties() - Specified by:
- getPropertiesin interface- Bus
 
 - 
setPropertiespublic void setProperties(Map<String,Object> map) - Specified by:
- setPropertiesin interface- Bus
 
 - 
getPropertypublic Object getProperty(String s) - Specified by:
- getPropertyin interface- Bus
 
 - 
setPropertypublic void setProperty(String s, Object o) - Specified by:
- setPropertyin interface- Bus
 
 
- 
 
-