Annotation Type Session


@Target({FIELD,METHOD})
@Retention(RUNTIME)
@Documented
public @interface Session

Identifies fields and methods that can be injected with org.cometd.bayeux.Session sessions objects scoped to the service instance.

On server-side services it's typical to inject org.cometd.bayeux.server.ServerSession or org.cometd.bayeux.server.LocalSession, while on client-side it is possible to inject org.cometd.bayeux.client.ClientSession.