Class CompositeContainerSessionAttributeActivationNotifier<CC,S,L,SC>

java.lang.Object
org.wildfly.clustering.session.infinispan.embedded.attributes.CompositeContainerSessionAttributeActivationNotifier<CC,S,L,SC>
Type Parameters:
CC - the container context type
S - the container session type
L - the container session event listener type
SC - the session context type
All Implemented Interfaces:
org.wildfly.clustering.session.cache.attributes.SessionAttributeActivationNotifier

public class CompositeContainerSessionAttributeActivationNotifier<CC,S,L,SC> extends Object implements org.wildfly.clustering.session.cache.attributes.SessionAttributeActivationNotifier
A notifier of session activation/passivation events originating from Infinispan.
Author:
Paul Ferraro
  • Constructor Details

    • CompositeContainerSessionAttributeActivationNotifier

      public CompositeContainerSessionAttributeActivationNotifier(org.wildfly.clustering.session.container.ContainerProvider<CC,S,L,SC> provider, Iterable<Map.Entry<CC, org.wildfly.clustering.session.SessionManager<SC>>> managers, String sessionId)
      Creates a session attribute activation notifier.
      Parameters:
      provider - the container provider
      managers - the container context and their managers
      sessionId - the identifier of the session to be notified.
  • Method Details

    • prePassivate

      public void prePassivate(Object value)
      Specified by:
      prePassivate in interface org.wildfly.clustering.session.cache.attributes.SessionAttributeActivationNotifier
    • postActivate

      public void postActivate(Object value)
      Specified by:
      postActivate in interface org.wildfly.clustering.session.cache.attributes.SessionAttributeActivationNotifier