public class SpringBeanLocator extends Object implements org.apache.cxf.configuration.ConfiguredBeanLocator
| Constructor and Description |
|---|
SpringBeanLocator(org.springframework.context.ApplicationContext ctx) |
SpringBeanLocator(org.springframework.context.ApplicationContext ctx,
org.apache.cxf.Bus bus) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getBeanNamesOfType(Class<?> type) |
<T> T |
getBeanOfType(String name,
Class<T> type) |
<T> Collection<? extends T> |
getBeansOfType(Class<T> type) |
<T> List<T> |
getOSGiServices(Class<T> type) |
boolean |
hasBeanOfName(String name) |
boolean |
hasConfiguredPropertyValue(String beanName,
String propertyName,
String searchValue) |
<T> boolean |
loadBeansOfType(Class<T> type,
org.apache.cxf.configuration.ConfiguredBeanLocator.BeanLoaderListener<T> listener) |
public SpringBeanLocator(org.springframework.context.ApplicationContext ctx)
public SpringBeanLocator(org.springframework.context.ApplicationContext ctx,
org.apache.cxf.Bus bus)
public <T> T getBeanOfType(String name, Class<T> type)
getBeanOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocatorpublic List<String> getBeanNamesOfType(Class<?> type)
getBeanNamesOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocatorpublic <T> Collection<? extends T> getBeansOfType(Class<T> type)
getBeansOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocatorpublic <T> boolean loadBeansOfType(Class<T> type, org.apache.cxf.configuration.ConfiguredBeanLocator.BeanLoaderListener<T> listener)
loadBeansOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocatorpublic boolean hasConfiguredPropertyValue(String beanName, String propertyName, String searchValue)
hasConfiguredPropertyValue in interface org.apache.cxf.configuration.ConfiguredBeanLocatorpublic boolean hasBeanOfName(String name)
hasBeanOfName in interface org.apache.cxf.configuration.ConfiguredBeanLocatorApache CXF