T
- The type that the handler was declared on.public interface MessageInterceptingMember<T> extends MessageHandlingMember<T>
MessageHandlingMember
instances that need to be treated as interceptors, rather
than regular members.Modifier and Type | Method and Description |
---|---|
default int |
priority()
Returns a number representing the priority of this handler over other handlers capable of processing the same
message.
|
annotationAttributes, canHandle, canHandleType, declaringClass, handle, hasAnnotation, payloadType, signature, unwrap
default int priority()
MessageHandlingMember
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.
priority
in interface MessageHandlingMember<T>
Copyright © 2010–2020. All rights reserved.