Annotation Interface Subscription


@Target(METHOD) @Retention(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 org.cometd.bayeux.client.ClientSessionChannel#subscribe(ClientSessionChannel.MessageListener).

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      String[] value
      Returns:
      the channels to which the callback method subscribes to