Package com.aquima.web.config.content
Class ExternalTemporaryPersistenceStrategy
java.lang.Object
com.aquima.web.config.content.ExternalTemporaryPersistenceStrategy
- All Implemented Interfaces:
com.aquima.interactions.portal.ITemporaryPersistenceStrategy
@Component
@RequestScope
@ConditionalOnProperty(name="blueriq.session.session-manager",
havingValue="external")
public class ExternalTemporaryPersistenceStrategy
extends Object
implements com.aquima.interactions.portal.ITemporaryPersistenceStrategy
The temporary persistence strategy used when sessions are stored in a key-value store:
- temporary content stored in a memory connection is placed on the request scope and deleted by an
IContentManager
wrapper when the scope is destroyed - for temporary content stored in a non-memory connection a cleanup job is scheduled
- Since:
- 11.0
- Author:
- Petru Galanton
-
Constructor Summary
ConstructorsConstructorDescriptionExternalTemporaryPersistenceStrategy
(com.aquima.interactions.process.scheduler.IScheduler scheduler, IExternalSessionManager sessionManager) -
Method Summary
Modifier and TypeMethodDescriptioncom.aquima.interactions.portal.IContentManagerFactory
createContentManagerFactory
(com.aquima.interactions.portal.IContentManagerFactory delegate, com.aquima.interactions.portal.IPortalContext context)
-
Constructor Details
-
ExternalTemporaryPersistenceStrategy
public ExternalTemporaryPersistenceStrategy(com.aquima.interactions.process.scheduler.IScheduler scheduler, IExternalSessionManager sessionManager)
-
-
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 interfacecom.aquima.interactions.portal.ITemporaryPersistenceStrategy
-