T- The type that the handler was declared on.
public interface MessageInterceptingMember<T> extends MessageHandlingMember<T>
MessageHandlingMemberinstances that need to be treated as interceptors, rather than regular members.
|Modifier and Type||Method and Description|
Returns a number representing the priority of this handler over other handlers capable of processing the same message.
default int priority()
In general, a handler with a higher priority will receive the message before (or instead of) handlers with a lower priority. However, the priority value may not be the only indicator that is used to determine the order of invocation. For instance, a message processor may decide to ignore the priority value if one message handler is a more specific handler of the message than another handler.
Copyright © 2010–2022. All rights reserved.