public class HotRodSessionRepository extends Object implements org.springframework.session.SessionRepository<DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch>>, 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
| Constructor and Description |
|---|
HotRodSessionRepository(HotRodSessionRepositoryConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
close() |
Void |
createLocalContext() |
DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch> |
createSession() |
void |
deleteById(String id) |
void |
destroy() |
DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch> |
findById(String id) |
org.wildfly.clustering.Registration |
register(String name) |
void |
save(DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch> session) |
public HotRodSessionRepository(HotRodSessionRepositoryConfiguration configuration)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic org.wildfly.clustering.Registration register(String name)
register in interface org.wildfly.clustering.Registrar<String>public void close()
close in interface AutoCloseableclose in interface org.wildfly.clustering.Registrationpublic Void createLocalContext()
createLocalContext in interface org.wildfly.clustering.web.LocalContextFactory<Void>public DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch> createSession()
createSession in interface org.springframework.session.SessionRepository<DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch>>public DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch> findById(String id)
findById in interface org.springframework.session.SessionRepository<DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch>>public void deleteById(String id)
deleteById in interface org.springframework.session.SessionRepository<DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch>>public void save(DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch> session)
save in interface org.springframework.session.SessionRepository<DistributableSession<org.wildfly.clustering.ee.cache.tx.TransactionBatch>>Copyright © 2020 JBoss by Red Hat. All rights reserved.