Spring Web Flow

org.springframework.webflow.conversation.impl
Class NoOpConversationLock

java.lang.Object
  extended by org.springframework.webflow.conversation.impl.NoOpConversationLock
All Implemented Interfaces:
java.io.Serializable, ConversationLock

public class NoOpConversationLock
extends java.lang.Object
implements ConversationLock

A singleton lock that doesn't do anything. For use when conversations don't require or choose not to implement locking.

Author:
Keith Donald
See Also:
Serialized Form

Field Summary
static NoOpConversationLock INSTANCE
          The singleton instance.
 
Method Summary
 void lock()
          Acquire the conversation lock.
 void unlock()
          Release the conversation lock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NoOpConversationLock INSTANCE
The singleton instance.

Method Detail

lock

public void lock()
Description copied from interface: ConversationLock
Acquire the conversation lock.

Specified by:
lock in interface ConversationLock

unlock

public void unlock()
Description copied from interface: ConversationLock
Release the conversation lock.

Specified by:
unlock in interface ConversationLock

Spring Web Flow