Annotation Type SessionDestroyed


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface SessionDestroyed
    Annotation to tag a method in a server side event handler for notification of session destroyed. The annotated method will be called when an existing session is destroyed. The method being annotated MUST NOT have any parameters. The return type of the method MAY be void; we don't look at the return value. The method MUST NOT throw a checked exception. The method MAY be public, protected, package private or private. The method MUST NOT be static. The method MAY be final. There MUST be no more than one method annotated with @SessionDestroyed per handler class.