|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited @Documented public @interface MessageTarget
Indicates that a method is capable of consuming messages. The method must
accept a single parameter that is either a Message
or an Object of
the expected message payload type. The method itself should define a void
return, and the enclosing class may also be annotated with
@MessageEndpoint
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |