@SpringBootConfiguration @AutoConfigureAfter(value=ClientCacheAutoConfiguration.class) @Conditional(value=SpringSessionAutoConfiguration.SpringSessionStoreTypeCondition.class) @ConditionalOnBean(value=org.apache.geode.cache.GemFireCache.class) @ConditionalOnClass(value={org.apache.geode.cache.GemFireCache.class,org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration.class}) @ConditionalOnMissingBean(value=org.springframework.session.web.http.SessionRepositoryFilter.class) @ConditionalOnWebApplication(type=SERVLET) @EnableGemFireHttpSession(poolName="DEFAULT") @Import(value=EnableSubscriptionConfiguration.class) public class SpringSessionAutoConfiguration extends java.lang.Object
auto-configuration
for configuring Apache Geode
as an (HTTP) Session
state management provider in Spring Session.Properties
,
GemFireCache
,
SpringApplication
,
SpringBootConfiguration
,
AutoConfigureAfter
,
EnableAutoConfiguration
,
ConditionalOnBean
,
ConditionalOnClass
,
ConditionalOnMissingBean
,
ConditionalOnWebApplication
,
Condition
,
ConditionContext
,
Conditional
,
Import
,
ConfigurableEnvironment
,
PropertiesPropertySource
,
PropertySource
,
AnnotatedTypeMetadata
,
EnableSubscriptionConfiguration
,
Session
,
EnableGemFireHttpSession
,
GemFireHttpSessionConfiguration
,
SessionRepositoryFilter
Modifier and Type | Class and Description |
---|---|
static class |
SpringSessionAutoConfiguration.SpringSessionPropertiesEnvironmentPostProcessor |
protected static class |
SpringSessionAutoConfiguration.SpringSessionStoreTypeCondition |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
SERVER_SERVLET_SESSION_TIMEOUT_PROPERTY |
protected static java.lang.String |
SPRING_SESSION_DATA_GEMFIRE_SESSION_EXPIRATION_TIMEOUT |
protected static java.lang.String |
SPRING_SESSION_PROPERTY_SOURCE_NAME |
protected static java.lang.String |
SPRING_SESSION_STORE_TYPE_PROPERTY |
protected static java.util.Set<java.lang.String> |
SPRING_SESSION_STORE_TYPES |
protected static java.lang.String |
SPRING_SESSION_TIMEOUT_PROPERTY |
Constructor and Description |
---|
SpringSessionAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected static java.time.Duration |
getDefaultSessionTimeout() |
protected static boolean |
isNotSet(org.springframework.core.env.ConfigurableEnvironment environment,
java.lang.String propertyName) |
protected static boolean |
isSet(org.springframework.core.env.ConfigurableEnvironment environment,
java.lang.String propertyName) |
protected static int |
toSeconds(java.time.Duration duration) |
protected static java.lang.String |
toSecondsAsString(java.time.Duration duration) |
protected static final java.util.Set<java.lang.String> SPRING_SESSION_STORE_TYPES
protected static final java.lang.String SERVER_SERVLET_SESSION_TIMEOUT_PROPERTY
protected static final java.lang.String SPRING_SESSION_DATA_GEMFIRE_SESSION_EXPIRATION_TIMEOUT
protected static final java.lang.String SPRING_SESSION_PROPERTY_SOURCE_NAME
protected static final java.lang.String SPRING_SESSION_STORE_TYPE_PROPERTY
protected static final java.lang.String SPRING_SESSION_TIMEOUT_PROPERTY
@NonNull protected static java.time.Duration getDefaultSessionTimeout()
protected static int toSeconds(@Nullable java.time.Duration duration)
@NonNull protected static java.lang.String toSecondsAsString(@Nullable java.time.Duration duration)
protected static boolean isNotSet(org.springframework.core.env.ConfigurableEnvironment environment, java.lang.String propertyName)
protected static boolean isSet(org.springframework.core.env.ConfigurableEnvironment environment, java.lang.String propertyName)