@Target(value={FIELD,METHOD}) @Retention(value=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
.
Copyright © 2008–2024 The CometD Project. All rights reserved.