Class SessionAttributeActivationNotifierFactory<S,C,L,SC,B extends org.wildfly.clustering.cache.batch.Batch>

java.lang.Object
org.wildfly.clustering.session.infinispan.embedded.SessionAttributeActivationNotifierFactory<S,C,L,SC,B>
Type Parameters:
S - the container session type
C - the session manager context type
L - the activation listener specification type
SC - the session context type
B - the batch type
All Implemented Interfaces:
Function<String,SessionAttributeActivationNotifier>, org.wildfly.clustering.server.Registrar<Map.Entry<C,org.wildfly.clustering.session.SessionManager<SC,B>>>

public class SessionAttributeActivationNotifierFactory<S,C,L,SC,B extends org.wildfly.clustering.cache.batch.Batch> extends Object implements Function<String,SessionAttributeActivationNotifier>, org.wildfly.clustering.server.Registrar<Map.Entry<C,org.wildfly.clustering.session.SessionManager<SC,B>>>
Factory for creating a SessionAttributeActivationNotifier for a given session identifier. Session activation events will created using detached sessions.
Author:
Paul Ferraro
  • Constructor Details

    • SessionAttributeActivationNotifierFactory

      public SessionAttributeActivationNotifierFactory(org.wildfly.clustering.session.spec.SessionSpecificationProvider<S,C> sessionProvider, org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<S,L> listenerProvider)
  • Method Details

    • register

      public org.wildfly.clustering.server.Registration register(Map.Entry<C,org.wildfly.clustering.session.SessionManager<SC,B>> entry)
      Specified by:
      register in interface org.wildfly.clustering.server.Registrar<S>
    • apply

      public SessionAttributeActivationNotifier apply(String sessionId)
      Specified by:
      apply in interface Function<S,C>