Class HotRodHttpSessionConfiguration
java.lang.Object
org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
org.wildfly.clustering.web.spring.annotation.HttpSessionConfiguration
org.wildfly.clustering.web.spring.hotrod.annotation.HotRodHttpSessionConfiguration
- All Implemented Interfaces:
Consumer<org.springframework.core.annotation.AnnotationAttributes>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.annotation.ImportAware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationEventPublisherAware,org.springframework.web.context.ServletContextAware,HotRodSessionRepositoryConfiguration,SessionRepositoryConfiguration
@Configuration(proxyBeanMethods=false)
public class HotRodHttpSessionConfiguration
extends HttpSessionConfiguration
implements HotRodSessionRepositoryConfiguration
Spring configuration bean for a session repository whose sessions are persisted to a remote Infinispan cluster accessed via HotRod.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.springframework.core.annotation.AnnotationAttributes attributes) getUri()voidsetProperties(Properties properties) voidsetTemplateName(String templateName) voidMethods inherited from class org.wildfly.clustering.web.spring.annotation.HttpSessionConfiguration
getEventPublisher, getIdentifierFactory, getIndexes, getIndexResolver, getMarshallerFactory, getMaxActiveSessions, getPersistenceStrategy, getServletContext, setApplicationEventPublisher, setGranularity, setImportMetadata, setMarshallerFactory, setMaxActiveSessions, setPersistenceStrategy, setServletContextMethods inherited from class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
afterPropertiesSet, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, springSessionRepositoryFilterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.web.spring.SessionRepositoryConfiguration
getEventPublisher, getIdentifierFactory, getIndexes, getIndexResolver, getMarshallerFactory, getMaxActiveSessions, getPersistenceStrategy, getServletContext
-
Constructor Details
-
HotRodHttpSessionConfiguration
public HotRodHttpSessionConfiguration()
-
-
Method Details
-
sessionRepository
-
getUri
- Specified by:
getUriin interfaceHotRodSessionRepositoryConfiguration
-
getProperties
- Specified by:
getPropertiesin interfaceHotRodSessionRepositoryConfiguration
-
getTemplateName
- Specified by:
getTemplateNamein interfaceHotRodSessionRepositoryConfiguration
-
setUri
-
setProperties
-
setTemplateName
-
accept
public void accept(org.springframework.core.annotation.AnnotationAttributes attributes) - Specified by:
acceptin interfaceConsumer<org.springframework.core.annotation.AnnotationAttributes>- Overrides:
acceptin classHttpSessionConfiguration
-