Class ImmutableSessionAttributeActivationNotifier<S,C,L>

java.lang.Object
org.wildfly.clustering.session.cache.attributes.fine.ImmutableSessionAttributeActivationNotifier<S,C,L>
Type Parameters:
S - the session specification type
C - the session manager context specification type
L - the session activation listener specification type
All Implemented Interfaces:
AutoCloseable, SessionAttributeActivationNotifier

public class ImmutableSessionAttributeActivationNotifier<S,C,L> extends Object implements SessionAttributeActivationNotifier
Triggers activation/passivation events for a single session attribute.
Author:
Paul Ferraro
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImmutableSessionAttributeActivationNotifier(org.wildfly.clustering.session.spec.SessionSpecificationProvider<S,C> sessionProvider, org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<S,L> listenerProvider, org.wildfly.clustering.session.ImmutableSession session, C context)
    Creates a session activation notifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    Notifies the specified attribute that it was activated, if interested.
    void
    Notifies the specified attribute that it will be passivated, if interested.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImmutableSessionAttributeActivationNotifier

      public ImmutableSessionAttributeActivationNotifier(org.wildfly.clustering.session.spec.SessionSpecificationProvider<S,C> sessionProvider, org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<S,L> listenerProvider, org.wildfly.clustering.session.ImmutableSession session, C context)
      Creates a session activation notifier.
      Parameters:
      sessionProvider - provider of specification views
      listenerProvider - provider of listener specification views
      session - an immutable session
      context - a session context
  • Method Details