Class InfinispanSessionManagerFactory<S,SC,AL,LC>
java.lang.Object
org.wildfly.clustering.web.infinispan.session.InfinispanSessionManagerFactory<S,SC,AL,LC>
- Type Parameters:
S- the HttpSession specification typeSC- the ServletContext specification typeAL- the HttpSessionAttributeListener specification typeLC- the local context type
- All Implemented Interfaces:
AutoCloseable,Runnable,SessionManagerFactory<SC,LC, TransactionBatch>
public class InfinispanSessionManagerFactory<S,SC,AL,LC>
extends Object
implements SessionManagerFactory<SC,LC,TransactionBatch>, Runnable
Factory for creating session managers.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createSessionManager(SessionManagerConfiguration<SC> configuration) voidrun()
-
Constructor Details
-
InfinispanSessionManagerFactory
public InfinispanSessionManagerFactory(InfinispanSessionManagerFactoryConfiguration<S, SC, AL, LC> config)
-
-
Method Details
-
run
public void run() -
createSessionManager
public SessionManager<LC,TransactionBatch> createSessionManager(SessionManagerConfiguration<SC> configuration) - Specified by:
createSessionManagerin interfaceSessionManagerFactory<S,SC, AL>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSessionManagerFactory<S,SC, AL>
-