Class InfinispanUserContextFactory<PC,PV,TC>

java.lang.Object
org.wildfly.clustering.session.infinispan.embedded.user.InfinispanUserContextFactory<PC,PV,TC>
Type Parameters:
PC - the persistent context type
PV - the marshalled persistent context type
TC - the transient context type
All Implemented Interfaces:
CacheEntryCreator<String, UserContext<PV,TC>, PC>, CacheEntryLocator<String, UserContext<PV,TC>>, CacheEntryRemover<String>, UserContextFactory<UserContext<PV,TC>, PC, TC>

public class InfinispanUserContextFactory<PC,PV,TC> extends Object implements UserContextFactory<UserContext<PV,TC>, PC, TC>
The factory for creating the context of a user.
Author:
Paul Ferraro
  • Constructor Details

    • InfinispanUserContextFactory

      public InfinispanUserContextFactory(EmbeddedCacheConfiguration configuration, Marshaller<PC,PV> marshaller, Supplier<TC> contextFactory)
      Creates a user context factory
      Parameters:
      configuration - the configuration for the associated cache
      marshaller - a marshaller for the persistent context of a user
      contextFactory - a factory for creating the user context
  • Method Details