Class InfinispanSessionRepository
java.lang.Object
org.wildfly.clustering.web.spring.infinispan.InfinispanSessionRepository
- All Implemented Interfaces:
AutoCloseable,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.session.FindByIndexNameSessionRepository<SpringSession>,org.springframework.session.SessionRepository<SpringSession>,org.wildfly.clustering.Registrar<String>,org.wildfly.clustering.Registration,org.wildfly.clustering.web.LocalContextFactory<Void>
public class InfinispanSessionRepository
extends Object
implements org.springframework.session.FindByIndexNameSessionRepository<SpringSession>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.wildfly.clustering.web.LocalContextFactory<Void>, org.wildfly.clustering.Registrar<String>, org.wildfly.clustering.Registration
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()voiddeleteById(String id) voiddestroy()findByIndexNameAndIndexValue(String indexName, String indexValue) org.wildfly.clustering.Registrationvoidsave(SpringSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.session.FindByIndexNameSessionRepository
findByPrincipalName
-
Constructor Details
-
InfinispanSessionRepository
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
register
- Specified by:
registerin interfaceorg.wildfly.clustering.Registrar<String>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.wildfly.clustering.Registration
-
createLocalContext
- Specified by:
createLocalContextin interfaceorg.wildfly.clustering.web.LocalContextFactory<Void>
-
createSession
- Specified by:
createSessionin interfaceorg.springframework.session.SessionRepository<SpringSession>
-
findById
- Specified by:
findByIdin interfaceorg.springframework.session.SessionRepository<SpringSession>
-
deleteById
- Specified by:
deleteByIdin interfaceorg.springframework.session.SessionRepository<SpringSession>
-
save
- Specified by:
savein interfaceorg.springframework.session.SessionRepository<SpringSession>
-
findByIndexNameAndIndexValue
- Specified by:
findByIndexNameAndIndexValuein interfaceorg.springframework.session.FindByIndexNameSessionRepository<SpringSession>
-