org.cometd.java.annotation
Annotation Type Subscription
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Subscription
For server-side services, identifies callback methods that are invoked
when a message is processed on local-side.
For client-side services, identifies callback methods that are invoked
with the same semantic of ClientSessionChannel.subscribe(ClientSessionChannel.MessageListener).
- See Also:
Listener
value
public abstract String[] value
- Returns:
- the list of channels to which the callback method subscribes to
Copyright © 2008-2011 Dojo Foundation. All Rights Reserved.