Spring Web Flow

org.springframework.webflow.execution.repository
Interface FlowExecutionLock


public interface FlowExecutionLock

A pessmistic lock to obtain exclusive rights to a flow execution. Used to prevent conflicts when multiple requests to manipulate a flow execution arrive from different threads concurrently.

Author:
Keith Donald

Method Summary
 void lock()
          Acquire the flow execution lock.
 void unlock()
          Release the flow execution lock.
 

Method Detail

lock

void lock()
Acquire the flow execution lock. This method will block until the lock becomes available for acquisition.


unlock

void unlock()
Release the flow execution lock.


Spring Web Flow