Package org.cometd.annotation
-
Class Summary Class Description AnnotationProcessor Base class for common functionality in annotation processors -
Annotation Types Summary Annotation Type Description 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.Service Identifies classes whose instances are services that interact with the Bayeux API.Session Identifies fields and methods that can be injected withorg.cometd.bayeux.Session sessions
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.