Interface SessionInitializer

  • All Superinterfaces:
    Comparable<SessionConfiguration>, SessionConfiguration

    public interface SessionInitializer
    extends SessionConfiguration
    An interface that should be implemented by custom Coherence scoped session configurations in order to enable their discovery and automatic initialization at startup.

    Each class implementing this interface must be annotated with @Named annotation representing the name of the scope being initialized, and can optionally be annotated with @ConfigUri annotation if a non-default configuration resource should be used.

    If annotated with the @Scope annotation the scope value will be used for the session scope, otherwise the session name will also be used as the scope.

    Since:
    20.06
    Author:
    Aleks Seovic 2020.06.15