Package org.cometd.annotation
Annotation Type Session
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) @Documented public @interface Session
Identifies fields and methods that can be injected with
sessions
objects scoped to the service instance.On server-side services it's typical to inject
ServerSession
orLocalSession
, while on client-side it is possible to injectClientSession
.