@Target(value={FIELD,METHOD}) @Retention(value=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
or LocalSession
, while on
client-side it is possible to inject ClientSession
.
Copyright © 2008–2017 The CometD Project. All rights reserved.