public class OSGiBeanLocator extends Object implements ConfiguredBeanLocator
ConfiguredBeanLocator.BeanLoaderListener<T>| Constructor and Description | 
|---|
| OSGiBeanLocator(ConfiguredBeanLocator c,
               org.osgi.framework.BundleContext ctx) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| 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. | 
| <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. | 
public OSGiBeanLocator(ConfiguredBeanLocator c, org.osgi.framework.BundleContext ctx)
public <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 List<String> getBeanNamesOfType(Class<?> type)
ConfiguredBeanLocatorgetBeanNamesOfType in interface ConfiguredBeanLocatorpublic boolean hasBeanOfName(String name)
hasBeanOfName in interface ConfiguredBeanLocatorApache CXF