Class ExtendedBeanInfoFactory

java.lang.Object
org.springframework.beans.ExtendedBeanInfoFactory
All Implemented Interfaces:
BeanInfoFactory, Ordered

public class ExtendedBeanInfoFactory extends Object implements BeanInfoFactory, Ordered
BeanInfoFactory implementation that evaluates whether bean classes have "non-standard" JavaBeans setter methods and are thus candidates for introspection by Spring's (package-visible) ExtendedBeanInfo implementation.

Ordered at Ordered.LOWEST_PRECEDENCE to allow other user-defined BeanInfoFactory types to take precedence.

Since:
3.2
Author:
Chris Beams
See Also:
  • Constructor Details

    • ExtendedBeanInfoFactory

      public ExtendedBeanInfoFactory()
  • Method Details

    • getBeanInfo

      @Nullable public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException
      Return an ExtendedBeanInfo for the given bean class, if applicable.
      Specified by:
      getBeanInfo in interface BeanInfoFactory
      Parameters:
      beanClass - the bean class
      Returns:
      the BeanInfo, or null if the given class is not supported
      Throws:
      IntrospectionException - in case of exceptions
    • getOrder

      public int getOrder()
      Description copied from interface: Ordered
      Get the order value of this object.

      Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet load-on-startup values).

      Same order values will result in arbitrary sort positions for the affected objects.

      Specified by:
      getOrder in interface Ordered
      Returns:
      the order value
      See Also: