Class InfinispanIndexedHttpSessionConfiguration
- java.lang.Object
-
- org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
-
- org.wildfly.clustering.web.spring.annotation.HttpSessionConfiguration
-
- org.wildfly.clustering.web.spring.annotation.IndexedHttpSessionConfiguration
-
- org.wildfly.clustering.web.spring.infinispan.annotation.InfinispanIndexedHttpSessionConfiguration
-
- All Implemented Interfaces:
Consumer<org.springframework.core.annotation.AnnotationAttributes>,org.springframework.beans.factory.Aware,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 InfinispanIndexedHttpSessionConfiguration extends IndexedHttpSessionConfiguration implements InfinispanSessionRepositoryConfiguration
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description InfinispanIndexedHttpSessionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.springframework.core.annotation.AnnotationAttributes attributes)StringgetConfigurationResource()StringgetTemplateName()InfinispanSessionRepositorysessionRepository()voidsetConfigurationResource(String resource)voidsetTemplateName(String templateName)-
Methods inherited from class org.wildfly.clustering.web.spring.annotation.IndexedHttpSessionConfiguration
getIndexes, getIndexResolver, setIndexes, setIndexResolver
-
Methods inherited from class org.wildfly.clustering.web.spring.annotation.HttpSessionConfiguration
getEventPublisher, getIdentifierFactory, getMarshallerFactory, getMaxActiveSessions, getPersistenceStrategy, getServletContext, setApplicationEventPublisher, setGranularity, setImportMetadata, setMarshallerFactory, setMaxActiveSessions, setPersistenceStrategy, setServletContext
-
Methods inherited from class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
init, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, springSessionRepositoryFilter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.web.spring.SessionRepositoryConfiguration
getEventPublisher, getIdentifierFactory, getIndexes, getIndexResolver, getMarshallerFactory, getMaxActiveSessions, getPersistenceStrategy, getServletContext
-
-
-
-
Method Detail
-
sessionRepository
@Bean public InfinispanSessionRepository sessionRepository()
-
getConfigurationResource
public String getConfigurationResource()
- Specified by:
getConfigurationResourcein interfaceInfinispanSessionRepositoryConfiguration
-
getTemplateName
public String getTemplateName()
- Specified by:
getTemplateNamein interfaceInfinispanSessionRepositoryConfiguration
-
setConfigurationResource
@Autowired(required=false) public void setConfigurationResource(String resource)
-
setTemplateName
@Autowired(required=false) public void setTemplateName(String templateName)
-
accept
public void accept(org.springframework.core.annotation.AnnotationAttributes attributes)
- Specified by:
acceptin interfaceConsumer<org.springframework.core.annotation.AnnotationAttributes>- Overrides:
acceptin classIndexedHttpSessionConfiguration
-
-