Class SpringSessionAutoConfiguration
java.lang.Object
org.springframework.geode.boot.autoconfigure.SpringSessionAutoConfiguration
@SpringBootConfiguration
@AutoConfigureAfter(ClientCacheAutoConfiguration.class)
@Conditional(SpringSessionStoreTypeCondition.class)
@ConditionalOnBean(org.apache.geode.cache.GemFireCache.class)
@ConditionalOnClass({org.apache.geode.cache.GemFireCache.class,org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration.class})
@ConditionalOnMissingBean(org.springframework.session.web.http.SessionRepositoryFilter.class)
@ConditionalOnWebApplication(type=SERVLET)
@EnableGemFireHttpSession(poolName="DEFAULT")
@Import(EnableSubscriptionConfiguration.class)
public class SpringSessionAutoConfiguration
extends Object
Spring Boot
auto-configuration
for configuring Apache Geode
as an (HTTP) Session
state management provider in Spring Session.- Since:
- 1.0.0
- See Also:
-
Properties
GemFireCache
SpringApplication
SpringBootConfiguration
AutoConfigureAfter
EnableAutoConfiguration
ConditionalOnBean
ConditionalOnClass
ConditionalOnMissingBean
ConditionalOnWebApplication
Condition
ConditionContext
Conditional
Import
ConfigurableEnvironment
PropertiesPropertySource
PropertySource
AnnotatedTypeMetadata
EnableSubscriptionConfiguration
Session
EnableGemFireHttpSession
GemFireHttpSessionConfiguration
SessionRepositoryFilter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
protected static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Duration
protected static boolean
protected static boolean
protected static int
protected static String
toSecondsAsString
(Duration duration)
-
Field Details
-
SPRING_SESSION_STORE_TYPES
-
SERVER_SERVLET_SESSION_TIMEOUT_PROPERTY
- See Also:
-
SPRING_SESSION_DATA_GEMFIRE_SESSION_EXPIRATION_TIMEOUT
- See Also:
-
SPRING_SESSION_PROPERTY_SOURCE_NAME
- See Also:
-
SPRING_SESSION_STORE_TYPE_PROPERTY
- See Also:
-
SPRING_SESSION_TIMEOUT_PROPERTY
- See Also:
-
-
Constructor Details
-
SpringSessionAutoConfiguration
public SpringSessionAutoConfiguration()
-
-
Method Details
-
getDefaultSessionTimeout
-
toSeconds
-
toSecondsAsString
-
isNotSet
protected static boolean isNotSet(org.springframework.core.env.ConfigurableEnvironment environment, String propertyName) -
isSet
protected static boolean isSet(org.springframework.core.env.ConfigurableEnvironment environment, String propertyName)
-