|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited @Documented public @interface Polled
Indicates that a method is capable of providing messages. The method must not
accept any parameters but can return either a single object or collection.
The enclosing class should be annotated with
@MessageEndpoint
.
Optional Element Summary | |
---|---|
int |
period
|
public abstract int period
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |