Package org.cometd.annotation
-
Interface Summary Interface Description RemoteCall.Caller Objects implementing this interface represent remote clients that performed remote calls. -
Class Summary Class Description AnnotationCometDServlet A specialized version ofCometDServlet
that can be configured with the init-parameter services to be a comma separated list of class names of annotated services, that will be processed byServerAnnotationProcessor
upon initialization.ClientAnnotationProcessor Processes annotations in client-side service objects.ServerAnnotationProcessor Processes annotations in server-side service objects. -
Annotation Types Summary Annotation Type Description Configure For server-side services, identifies channel configuration methods that are invoked when a message is processed on server-side.Listener For server-side services, identifies callback methods that are invoked when a message is processed on server-side.Param For methods annotated withListener
orSubscription
whose value is a channel template such as/game/{gameId}
, this annotation binds parameters of those methods with the value obtained matching the actual channel with the channel template.RemoteCall Identifies callback methods on server-side services that are invoked when the client is performing a remote call.Service Identifies classes whose instances are services that interact with the Bayeux API.Session Identifies fields and methods that can be injected withsessions
objects scoped to the service instance.Subscription For server-side services, identifies callback methods that are invoked when a message is processed on local-side.