Package org.cometd.annotation
Annotation Type Service
-
@Qualifier @Target({TYPE,CONSTRUCTOR,METHOD,FIELD,ANNOTATION_TYPE,PARAMETER}) @Retention(RUNTIME) @Inherited @Documented public @interface Service
Identifies classes whose instances are services that interact with the Bayeux API.
A service can register callback methods by annotating them with
Listeneror withSubscription.Service objects are configured by
ServerAnnotationProcessors or byClientAnnotationProcessors.Services can have an optional name that is used as a prefix for the
session identifier, thus helping in debug and logging.
-
-
Element Detail
-
value
String value
- Returns:
- The name of this service
- Default:
- ""
-
-