public class SpringAnnotationOrderResolver extends Object implements OrderResolver
@Order annotations on the type level. When such
annotation is found, the value provided is used as order.| Constructor and Description |
|---|
SpringAnnotationOrderResolver() |
public int orderOf(EventListener listener)
OrderResolverlistener.
Implementations should check whether the listener implements EventListenerProxy. In that
case, use EventListenerProxy.getTargetType() to get access to the actual
type handling the events.orderOf in interface OrderResolverlistener - the listener to resolve the order for0 if no specific order is provided.Copyright © 2010-2014. All Rights Reserved.