org.apache.cxf.bus.osgi
Class OSGiBeanLocator
java.lang.Object
org.apache.cxf.bus.osgi.OSGiBeanLocator
- All Implemented Interfaces:
- org.apache.cxf.configuration.ConfiguredBeanLocator
public class OSGiBeanLocator
- extends Object
- implements org.apache.cxf.configuration.ConfiguredBeanLocator
| Nested classes/interfaces inherited from interface org.apache.cxf.configuration.ConfiguredBeanLocator |
org.apache.cxf.configuration.ConfiguredBeanLocator.BeanLoaderListener<T> |
|
Constructor Summary |
OSGiBeanLocator(org.apache.cxf.configuration.ConfiguredBeanLocator c,
org.osgi.framework.BundleContext ctx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiBeanLocator
public OSGiBeanLocator(org.apache.cxf.configuration.ConfiguredBeanLocator c,
org.osgi.framework.BundleContext ctx)
getBeanOfType
public <T> T getBeanOfType(String name,
Class<T> type)
- Specified by:
getBeanOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocator
getBeansOfType
public <T> Collection<? extends T> getBeansOfType(Class<T> type)
- Specified by:
getBeansOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocator
loadBeansOfType
public <T> boolean loadBeansOfType(Class<T> type,
org.apache.cxf.configuration.ConfiguredBeanLocator.BeanLoaderListener<T> listener)
- Specified by:
loadBeansOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocator
hasConfiguredPropertyValue
public boolean hasConfiguredPropertyValue(String beanName,
String propertyName,
String value)
- Specified by:
hasConfiguredPropertyValue in interface org.apache.cxf.configuration.ConfiguredBeanLocator
getBeanNamesOfType
public List<String> getBeanNamesOfType(Class<?> type)
- Specified by:
getBeanNamesOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocator
hasBeanOfName
public boolean hasBeanOfName(String name)
- Specified by:
hasBeanOfName in interface org.apache.cxf.configuration.ConfiguredBeanLocator
Apache CXF