org.apache.cxf.bus.spring
Class SpringBeanLocator

java.lang.Object
  extended by org.apache.cxf.bus.spring.SpringBeanLocator
All Implemented Interfaces:
org.apache.cxf.configuration.ConfiguredBeanLocator

public class SpringBeanLocator
extends Object
implements org.apache.cxf.configuration.ConfiguredBeanLocator


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.cxf.configuration.ConfiguredBeanLocator
org.apache.cxf.configuration.ConfiguredBeanLocator.BeanLoaderListener<T>
 
Constructor Summary
SpringBeanLocator(org.springframework.context.ApplicationContext ctx)
           
SpringBeanLocator(org.springframework.context.ApplicationContext ctx, org.apache.cxf.Bus bus)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBeanLocator

public SpringBeanLocator(org.springframework.context.ApplicationContext ctx)

SpringBeanLocator

public SpringBeanLocator(org.springframework.context.ApplicationContext ctx,
                         org.apache.cxf.Bus bus)
Method Detail

getBeanOfType

public <T> T getBeanOfType(String name,
                           Class<T> type)
Specified by:
getBeanOfType in interface org.apache.cxf.configuration.ConfiguredBeanLocator

getBeanNamesOfType

public List<String> getBeanNamesOfType(Class<?> type)

Specified by:
getBeanNamesOfType 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 searchValue)
Specified by:
hasConfiguredPropertyValue in interface org.apache.cxf.configuration.ConfiguredBeanLocator

getOSGiServices

public <T> List<T> getOSGiServices(Class<T> type)

hasBeanOfName

public boolean hasBeanOfName(String name)
Specified by:
hasBeanOfName in interface org.apache.cxf.configuration.ConfiguredBeanLocator


Apache CXF