org.springframework.beans

Class ExtendedBeanInfoFactory

  • java.lang.Object
    • org.springframework.beans.ExtendedBeanInfoFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.beans.BeanInfo getBeanInfo(java.lang.Class<?> beanClass)
      Return an ExtendedBeanInfo for the given bean class, if applicable.
      int getOrder()
      Get the order value of this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtendedBeanInfoFactory

        public ExtendedBeanInfoFactory()
    • Method Detail

      • getBeanInfo

        @Nullable
        public java.beans.BeanInfo getBeanInfo(java.lang.Class<?> beanClass)
                                                  throws java.beans.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:
        java.beans.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:
        Ordered.HIGHEST_PRECEDENCE, Ordered.LOWEST_PRECEDENCE