|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of member supported by this handlerpublic interface HandlerDefinition<T extends AccessibleObject>
Defines which members (methods, constructors, etc) are considered message handlers. A typical approach is by adding an annotation on the method, but it is certainly not limited to that approach.
Method Summary | |
---|---|
boolean |
isMessageHandler(T member)
Indicates whether the given member is to be considered a message handler |
Class<?> |
resolvePayloadFor(T member)
Returns the explicitly defined payload of supported messages on the given member |
Method Detail |
---|
boolean isMessageHandler(T member)
member
- The member to verify
true
if the given member
is a message handler, otherwise false
Class<?> resolvePayloadFor(T member)
member
member
- the member method
null
if the payload must be deducted from the
handler's parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |