Class DefaultHybrisSpringSessionRepositoryFactory

java.lang.Object
de.hybris.platform.servicelayer.web.session.DefaultHybrisSpringSessionRepositoryFactory
All Implemented Interfaces:
HybrisSpringSessionRepositoryFactory

public class DefaultHybrisSpringSessionRepositoryFactory extends Object implements HybrisSpringSessionRepositoryFactory
Creates instances of CachedPersistedSessionRepository. Depending on configuration the repository will use either a synchronous or asynchronous session persister strategy. Note that if there's no configuration for the given extension the factory will return NULL.
  • Constructor Details

    • DefaultHybrisSpringSessionRepositoryFactory

      public DefaultHybrisSpringSessionRepositoryFactory()
  • Method Details

    • createRepository

      public org.springframework.session.SessionRepository createRepository(org.springframework.core.serializer.Deserializer deSerializer, String extension, String contextRoot)
      Specified by:
      createRepository in interface HybrisSpringSessionRepositoryFactory
    • getConfiguredSessionPersister

      protected SessionPersister getConfiguredSessionPersister(String extension)
    • getSessionFilterStrategy

      protected SessionFilteringStrategy getSessionFilterStrategy(String extension)
    • setSynchronousSessionPersister

      public void setSynchronousSessionPersister(SessionPersister synchronousSessionPersister)
    • setAsynchronousSessionPersister

      public void setAsynchronousSessionPersister(SessionPersister asynchronousSessionPersister)