Class DataSerializableSessionSerializerInitializer

java.lang.Object
org.springframework.session.data.gemfire.serialization.data.support.DataSerializableSessionSerializerInitializer
All Implemented Interfaces:
org.apache.geode.cache.Declarable

public class DataSerializableSessionSerializerInitializer extends Object implements org.apache.geode.cache.Declarable
Register the custom Spring Session DataSerializableSessionSerializer with Apache Geode/Pivotal GemFire's DataSerialization framework as the DataSerializer used to handle de/serialization of the Session, the Session Attributes and any application domain model objects contained in the Session (if necessary).
Since:
2.1.1
See Also:
  • Constructor Details

    • DataSerializableSessionSerializerInitializer

      public DataSerializableSessionSerializerInitializer()
      Default constructor used to construct a new, un-initialized instance of DataSerializableSessionSerializerInitializer. For use in Apache Geode/Pivotal GemFire cache.xml.
    • DataSerializableSessionSerializerInitializer

      public DataSerializableSessionSerializerInitializer(@Nullable org.apache.geode.cache.GemFireCache gemfireCache)
      Constructs a new instance of DataSerializableSessionSerializerInitializer initialized with the given, non-required GemFireCache. This constructor is meant to be used programmatically and users are encouraged to provide a reference to the configured and initialized GemFireCache instance if available.
      Parameters:
      gemfireCache - reference to the GemFireCache instance. GemFireCache may be null in to order to "lazy" initialize or resolve the cache.
      See Also:
      • GemFireCache
  • Method Details