Class DefaultTemporaryPersistenceStrategy

java.lang.Object
com.aquima.web.config.content.DefaultTemporaryPersistenceStrategy
All Implemented Interfaces:
com.aquima.interactions.portal.ITemporaryPersistenceStrategy

@Component @ConditionalOnProperty(name="blueriq.session.session-manager", havingValue="memory", matchIfMissing=true) public class DefaultTemporaryPersistenceStrategy extends Object implements com.aquima.interactions.portal.ITemporaryPersistenceStrategy
The default temporary persistence strategy:
  • temporary content stored in a memory connection is placed on the request scope
  • temporary content stored in a non-memory connection is placed on the session scope
    • The temporary content is deleted by an IContentManager wrapper when the scope is destroyed.
Since:
11.0
Author:
Petru Galanton
  • Constructor Details

    • DefaultTemporaryPersistenceStrategy

      public DefaultTemporaryPersistenceStrategy()
  • Method Details

    • createContentManagerFactory

      public com.aquima.interactions.portal.IContentManagerFactory createContentManagerFactory(com.aquima.interactions.portal.IContentManagerFactory delegate, com.aquima.interactions.portal.IPortalContext context)
      Specified by:
      createContentManagerFactory in interface com.aquima.interactions.portal.ITemporaryPersistenceStrategy