public class ExtensionManagerImpl extends Object implements ExtensionManager, ConfiguredBeanLocator
ConfiguredBeanLocator.BeanLoaderListener<T>| Modifier and Type | Field and Description | 
|---|---|
| static String | ACTIVATION_NAMESPACES_PROPERTY_NAME | 
| static String | ACTIVATION_NAMESPACES_SETTER_METHOD_NAME | 
| static String | BUS_EXTENSION_RESOURCE | 
| static String | EXTENSIONMANAGER_PROPERTY_NAME | 
| Constructor and Description | 
|---|
| ExtensionManagerImpl(ClassLoader cl,
                    Map<Class<?>,Object> initialExtensions,
                    ResourceManager rm,
                    Bus b) | 
| ExtensionManagerImpl(String[] resources,
                    ClassLoader cl,
                    Map<Class<?>,Object> initialExtensions,
                    ResourceManager rm,
                    Bus b) | 
| ExtensionManagerImpl(String resource,
                    ClassLoader cl,
                    Map<Class<?>,Object> initialExtensions,
                    ResourceManager rm,
                    Bus b) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activateAll() | 
| <T> void | activateAllByType(Class<T> type) | 
| void | add(Extension ex) | 
| void | destroyBeans() | 
| List<String> | getBeanNamesOfType(Class<?> type)Gets the names of all the configured beans of the specific type. | 
| <T> T | getBeanOfType(String name,
             Class<T> type)Gets the bean of the given name and type | 
| <T> Collection<? extends T> | getBeansOfType(Class<T> type)Gets all the configured beans of the specific types. | 
| <T> T | getExtension(String name,
            Class<T> type) | 
| boolean | hasBeanOfName(String name) | 
| boolean | hasConfiguredPropertyValue(String beanName,
                          String propertyName,
                          String value)For supporting "legacy" config, checks the configured bean to see if
 it has a property configured with the given name/value. | 
| void | initialize() | 
| <T> boolean | loadBeansOfType(Class<T> type,
               ConfiguredBeanLocator.BeanLoaderListener<T> listener)Iterates through the beans of the given type, calling the listener
 to determine if it should be loaded or not. | 
| void | removeBeansOfNames(List<String> names) | 
public static final String EXTENSIONMANAGER_PROPERTY_NAME
public static final String ACTIVATION_NAMESPACES_PROPERTY_NAME
public static final String ACTIVATION_NAMESPACES_SETTER_METHOD_NAME
public static final String BUS_EXTENSION_RESOURCE
public ExtensionManagerImpl(ClassLoader cl, Map<Class<?>,Object> initialExtensions, ResourceManager rm, Bus b)
public ExtensionManagerImpl(String resource, ClassLoader cl, Map<Class<?>,Object> initialExtensions, ResourceManager rm, Bus b)
public ExtensionManagerImpl(String[] resources, ClassLoader cl, Map<Class<?>,Object> initialExtensions, ResourceManager rm, Bus b)
public void add(Extension ex)
public void initialize()
public void activateAll()
activateAll in interface ExtensionManagerpublic <T> void activateAllByType(Class<T> type)
activateAllByType in interface ExtensionManagerpublic boolean hasBeanOfName(String name)
hasBeanOfName in interface ConfiguredBeanLocatorpublic <T> T getExtension(String name, Class<T> type)
getExtension in interface ExtensionManagerpublic List<String> getBeanNamesOfType(Class<?> type)
ConfiguredBeanLocatorgetBeanNamesOfType in interface ConfiguredBeanLocatorpublic <T> T getBeanOfType(String name, Class<T> type)
ConfiguredBeanLocatorgetBeanOfType in interface ConfiguredBeanLocatorpublic <T> Collection<? extends T> getBeansOfType(Class<T> type)
ConfiguredBeanLocatorgetBeansOfType in interface ConfiguredBeanLocatorpublic <T> boolean loadBeansOfType(Class<T> type, ConfiguredBeanLocator.BeanLoaderListener<T> listener)
ConfiguredBeanLocatorloadBeansOfType in interface ConfiguredBeanLocatorpublic boolean hasConfiguredPropertyValue(String beanName, String propertyName, String value)
ConfiguredBeanLocatorhasConfiguredPropertyValue in interface ConfiguredBeanLocatorpublic void destroyBeans()
Apache CXF