クラス HazelcastHttpSessionConfiguration

java.lang.ObjectSE
org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
実装されたすべてのインターフェース:
org.springframework.beans.factory.Awareorg.springframework.context.annotation.ImportAware

@Configuration(proxyBeanMethods=false) @Import(SpringHttpSessionConfiguration.class) public class HazelcastHttpSessionConfiguration extends ObjectSE implements org.springframework.context.annotation.ImportAware
SessionRepositoryFilter を springSessionRepositoryFilter という名前の Bean として公開します。これを使用するには、単一の HazelcastInstance を Bean として公開する必要があります。
導入:
1.1
関連事項:
  • コンストラクターの詳細

    • HazelcastHttpSessionConfiguration

      public HazelcastHttpSessionConfiguration()
  • メソッドの詳細

    • sessionRepository

      @Bean public FindByIndexNameSessionRepository<?> sessionRepository()
    • setMaxInactiveInterval

      public void setMaxInactiveInterval(DurationSE maxInactiveInterval)
    • setMaxInactiveIntervalInSeconds

      @DeprecatedSE public void setMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds)
      使用すべきではありません。
    • setSessionMapName

      public void setSessionMapName(StringSE sessionMapName)
    • setFlushMode

      public void setFlushMode(FlushMode flushMode)
    • setSaveMode

      public void setSaveMode(SaveMode saveMode)
    • setHazelcastInstance

      @Autowired public void setHazelcastInstance(@SpringSessionHazelcastInstance org.springframework.beans.factory.ObjectProvider<com.hazelcast.core.HazelcastInstance> springSessionHazelcastInstance, org.springframework.beans.factory.ObjectProvider<com.hazelcast.core.HazelcastInstance> hazelcastInstance)
    • setApplicationEventPublisher

      @Autowired public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
    • setIndexResolver

      @Autowired(required=false) public void setIndexResolver(IndexResolver<Session> indexResolver)
    • setSessionRepositoryCustomizer

      @Autowired(required=false) public void setSessionRepositoryCustomizer(org.springframework.beans.factory.ObjectProvider<SessionRepositoryCustomizer<HazelcastIndexedSessionRepository>> sessionRepositoryCustomizers)
    • setImportMetadata

      public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
      次で指定:
      インターフェース org.springframework.context.annotation.ImportAwaresetImportMetadata 
    • setSessionIdGenerator

      @Autowired(required=false) public void setSessionIdGenerator(SessionIdGenerator sessionIdGenerator)