jetbrains.buildServer
Class DefaultSpringAccessor

java.lang.Object
  extended by jetbrains.buildServer.DefaultSpringAccessor
All Implemented Interfaces:
SpringAccessor

public class DefaultSpringAccessor
extends java.lang.Object
implements SpringAccessor

Author:
Eugene Petrenko Created: 10.02.2009 19:04:51

Field Summary
protected static SpringBeansFilter ACCEPT_ALL
           
 
Constructor Summary
DefaultSpringAccessor(org.springframework.beans.factory.ListableBeanFactory beanFactory)
           
DefaultSpringAccessor(org.springframework.beans.factory.ListableBeanFactory beanFactory, SpringBeansFilter filter)
           
 
Method Summary
protected
<T> java.lang.String[]
getBeanNames(java.lang.Class<T> extensionClass)
           
<T> java.util.Collection<T>
getSpringBeansOfType(java.lang.Class<T> extensionClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCEPT_ALL

protected static final SpringBeansFilter ACCEPT_ALL
Constructor Detail

DefaultSpringAccessor

public DefaultSpringAccessor(@NotNull
                             org.springframework.beans.factory.ListableBeanFactory beanFactory)

DefaultSpringAccessor

public DefaultSpringAccessor(@NotNull
                             org.springframework.beans.factory.ListableBeanFactory beanFactory,
                             @NotNull
                             SpringBeansFilter filter)
Method Detail

getSpringBeansOfType

@NotNull
public <T> java.util.Collection<T> getSpringBeansOfType(@NotNull
                                                                java.lang.Class<T> extensionClass)
Specified by:
getSpringBeansOfType in interface SpringAccessor

getBeanNames

@NotNull
protected <T> java.lang.String[] getBeanNames(@NotNull
                                                      java.lang.Class<T> extensionClass)