Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » support » [javadoc | source]
org.springframework.beans.factory.support
abstract class: AutowireUtils [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.support.AutowireUtils
Utility class that contains various methods useful for the implementation of autowire-capable bean factories.
Method from org.springframework.beans.factory.support.AutowireUtils Summary:
createAutowireCandidateResolver,   isExcludedFromDependencyCheck,   isSetterDefinedInInterface,   sortConstructors
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.support.AutowireUtils Detail:
 public static AutowireCandidateResolver createAutowireCandidateResolver() 
    If at least Java 1.5, this will return an annotation-aware resolver. Otherwise it returns a resolver that checks the bean definition only.
 public static boolean isExcludedFromDependencyCheck(PropertyDescriptor pd) 
    Determine whether the given bean property is excluded from dependency checks.

    This implementation excludes properties defined by CGLIB.

 public static boolean isSetterDefinedInInterface(PropertyDescriptor pd,
    Set interfaces) 
    Return whether the setter method of the given bean property is defined in any of the given interfaces.
 public static  void sortConstructors(Constructor[] constructors) 
    Sort the given constructors, preferring public constructors and "greedy" ones with a maximum of arguments. The result will contain public constructors first, with decreasing number of arguments, then non-public constructors, again with decreasing number of arguments.