Annotation Type SessionCreated


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface SessionCreated
    Annotation to tag a method in a server side event handler for notification of session created. 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 @SessionCreated per handler class.