Spring Web Flow

org.springframework.webflow.conversation.impl
Interface ConversationLock

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
JdkConcurrentConversationLock, NoOpConversationLock

public interface ConversationLock
extends java.io.Serializable

A normalized interface for conversation locks, used to obtain exclusive access to a conversation.

Author:
Keith Donald

Method Summary
 void lock()
          Acquire the conversation lock.
 void unlock()
          Release the conversation lock.
 

Method Detail

lock

void lock()
          throws ConversationLockException
Acquire the conversation lock.

Throws:
ConversationLockException - if an exception is thrown attempting to acquire this lock

unlock

void unlock()
Release the conversation lock.


Spring Web Flow