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 or LocalSession, while on client-side it is possible to inject ClientSession.