jetbrains.buildServer.spring.candidates
Class ExcludedBeansAutowireCandidateResolver

java.lang.Object
  extended by jetbrains.buildServer.spring.candidates.ExcludedBeansAutowireCandidateResolver
All Implemented Interfaces:
TeamCityAutowireCandidateResolver

public class ExcludedBeansAutowireCandidateResolver
extends java.lang.Object
implements TeamCityAutowireCandidateResolver

Since:
8.0
Author:
Maxim.Manuylov Date: 23.10.12
See Also:
ExcludedFromAutowiring

Constructor Summary
ExcludedBeansAutowireCandidateResolver()
           
 
Method Summary
 boolean isAutowireCandidate(java.lang.Class<?> dependencyType, java.lang.Class<?> beanType, java.lang.reflect.Type genericDependencyType)
          Determine whether the given bean qualifies as an autowire candidate for the given dependency.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludedBeansAutowireCandidateResolver

public ExcludedBeansAutowireCandidateResolver()
Method Detail

isAutowireCandidate

public boolean isAutowireCandidate(@NotNull
                                   java.lang.Class<?> dependencyType,
                                   @NotNull
                                   java.lang.Class<?> beanType,
                                   @Nullable
                                   java.lang.reflect.Type genericDependencyType)
Description copied from interface: TeamCityAutowireCandidateResolver
Determine whether the given bean qualifies as an autowire candidate for the given dependency.

Specified by:
isAutowireCandidate in interface TeamCityAutowireCandidateResolver
Parameters:
dependencyType - type of the dependency
beanType - type of the bean
genericDependencyType - generic type of the dependency
Returns:
whether the bean qualifies as autowire candidate