@Configuration @ConditionalOnClass(value=HazelcastSessionManager.class) @ConditionalOnProperty(name="tsm.autoconfig.enabled", havingValue="true", matchIfMissing=true) public class HazelcastSessionManagerConfiguration extends Object
| Constructor and Description |
|---|
HazelcastSessionManagerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory> |
customizeTomcat(com.hazelcast.core.HazelcastInstance hazelcastInstance) |
com.hazelcast.client.config.ClientConfig |
hazelcastClientConfigForTomcatSessionManager() |
com.hazelcast.config.Config |
hazelcastConfigForTomcatSessionManager() |
public HazelcastSessionManagerConfiguration()
@Bean @ConditionalOnMissingBean(value=com.hazelcast.config.Config.class) @Conditional(value=com.hazelcast.session.HazelcastSessionManagerConfiguration.HazelcastConfigAvailableCondition.class) public com.hazelcast.config.Config hazelcastConfigForTomcatSessionManager() throws Exception
Exception@Bean @ConditionalOnMissingBean(value=com.hazelcast.client.config.ClientConfig.class) @Conditional(value=com.hazelcast.session.HazelcastSessionManagerConfiguration.HazelcastClientConfigAvailableCondition.class) public com.hazelcast.client.config.ClientConfig hazelcastClientConfigForTomcatSessionManager() throws Exception
Exception@Bean(name="hazelcastTomcatSessionManagerCustomizer") public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory> customizeTomcat(com.hazelcast.core.HazelcastInstance hazelcastInstance)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.