@Configuration(proxyBeanMethods=false) public class HotRodHttpSessionConfiguration extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration implements HotRodSessionRepositoryConfiguration, org.springframework.web.context.ServletContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.beans.factory.BeanClassLoaderAware
| Constructor and Description |
|---|
HotRodHttpSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
String |
getConfigurationName() |
org.springframework.context.ApplicationEventPublisher |
getEventPublisher() |
Supplier<String> |
getIdentifierFactory() |
Integer |
getMaxActiveSessions() |
org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy |
getPersistenceStrategy() |
Properties |
getProperties() |
javax.servlet.ServletContext |
getServletContext() |
HotRodSessionRepository |
sessionRepository() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
void |
setBeanClassLoader(ClassLoader loader) |
void |
setConfigurationName(String configurationName) |
void |
setIdentifierFactory(Supplier<String> identifierFactory) |
void |
setMaxActiveSessions(Integer maxActiveSessions) |
void |
setPersistenceStrategy(org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy persistenceStrategy) |
void |
setProperties(Properties properties) |
void |
setServletContext(javax.servlet.ServletContext context) |
@Bean public HotRodSessionRepository sessionRepository()
public Properties getProperties()
getProperties in interface HotRodSessionRepositoryConfigurationpublic String getConfigurationName()
getConfigurationName in interface HotRodSessionRepositoryConfigurationpublic Integer getMaxActiveSessions()
getMaxActiveSessions in interface HotRodSessionRepositoryConfigurationpublic org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy getPersistenceStrategy()
getPersistenceStrategy in interface HotRodSessionRepositoryConfigurationpublic Supplier<String> getIdentifierFactory()
getIdentifierFactory in interface HotRodSessionRepositoryConfigurationpublic org.springframework.context.ApplicationEventPublisher getEventPublisher()
getEventPublisher in interface HotRodSessionRepositoryConfigurationpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface HotRodSessionRepositoryConfigurationpublic ClassLoader getClassLoader()
getClassLoader in interface HotRodSessionRepositoryConfigurationpublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwarepublic void setServletContext(javax.servlet.ServletContext context)
setServletContext in interface org.springframework.web.context.ServletContextAwaresetServletContext in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfigurationpublic void setBeanClassLoader(ClassLoader loader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware@Autowired(required=true) @Qualifier(value="hotRodProperties") public void setProperties(Properties properties)
@Autowired(required=true) public void setPersistenceStrategy(org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy persistenceStrategy)
@Autowired(required=false) public void setMaxActiveSessions(Integer maxActiveSessions)
@Autowired(required=false) public void setConfigurationName(String configurationName)
Copyright © 2020 JBoss by Red Hat. All rights reserved.