Class InfinispanHttpSessionConfiguration
java.lang.Object
org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
org.wildfly.clustering.web.spring.annotation.HttpSessionConfiguration
org.wildfly.clustering.web.spring.infinispan.annotation.InfinispanHttpSessionConfiguration
- 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,InfinispanSessionRepositoryConfiguration,SessionRepositoryConfiguration
@Configuration(proxyBeanMethods=false)
public class InfinispanHttpSessionConfiguration
extends HttpSessionConfiguration
implements InfinispanSessionRepositoryConfiguration
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.springframework.core.annotation.AnnotationAttributes attributes) voidsetConfigurationResource(String resource) voidsetTemplateName(String templateName) Methods 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
-
InfinispanHttpSessionConfiguration
public InfinispanHttpSessionConfiguration()
-
-
Method Details
-
sessionRepository
-
getConfigurationResource
- Specified by:
getConfigurationResourcein interfaceInfinispanSessionRepositoryConfiguration
-
getTemplateName
- Specified by:
getTemplateNamein interfaceInfinispanSessionRepositoryConfiguration
-
setConfigurationResource
-
setTemplateName
-
accept
public void accept(org.springframework.core.annotation.AnnotationAttributes attributes) - Specified by:
acceptin interfaceConsumer<org.springframework.core.annotation.AnnotationAttributes>- Overrides:
acceptin classHttpSessionConfiguration
-