org.springframework.context.event

Class DefaultEventListenerFactory

  • java.lang.Object
    • org.springframework.context.event.DefaultEventListenerFactory
    • Constructor Detail

      • DefaultEventListenerFactory

        public DefaultEventListenerFactory()
    • Method Detail

      • setOrder

        public void setOrder(int order)
      • 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
      • supportsMethod

        public boolean supportsMethod(java.lang.reflect.Method method)
        Description copied from interface: EventListenerFactory
        Specify if this factory supports the specified Method.
        Specified by:
        supportsMethod in interface EventListenerFactory
        Parameters:
        method - an EventListener annotated method
        Returns:
        true if this factory supports the specified method