Class ConcurrentFlowScope
java.lang.Object
com.aquima.interactions.portal.model.session.concurrent.ConcurrentPortalScope
com.aquima.interactions.portal.model.session.concurrent.ConcurrentFlowScope
- All Implemented Interfaces:
IDisposableScope
,IFlowScope
,IPortalScope
,Serializable
Flow scope implementation that uses locking to handle concurrent method calls.
- Since:
- 9.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentFlowScope
(IFlowScope flowScope, ReadWriteLock lock) Construct a concurrent flow scope. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the flow this scope belongs to.getType()
This method will return the scope type of the portal scope implementation.Methods inherited from class com.aquima.interactions.portal.model.session.concurrent.ConcurrentPortalScope
clearAttribute, destroyDisposableObjects, getAttribute, getAttributeNames, hasAttribute, setAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.portal.IDisposableScope
destroyDisposableObjects
Methods inherited from interface com.aquima.interactions.portal.IPortalScope
clearAttribute, getAttribute, getAttributeNames, hasAttribute, setAttribute
-
Constructor Details
-
ConcurrentFlowScope
Construct a concurrent flow scope.- Parameters:
flowScope
- The delegate flow scope, may not be null.lock
- The read/write lock to handle concurrent calls, may not be null.
-
-
Method Details
-
getFlowName
Description copied from interface:IFlowScope
This method returns the name of the flow this scope belongs to.- Specified by:
getFlowName
in interfaceIFlowScope
- Returns:
- The flow name, never null or empty.
-
getType
Description copied from interface:IPortalScope
This method will return the scope type of the portal scope implementation.- Specified by:
getType
in interfaceIPortalScope
- Returns:
- The current scope type.
-