org.springframework.webflow.conversation.impl
Class ConversationLockFactory

java.lang.Object
  extended by org.springframework.webflow.conversation.impl.ConversationLockFactory

public class ConversationLockFactory
extends java.lang.Object

Simple utility class for creating conversation lock instances based on the current execution environment.

Author:
Keith Donald, Rob Harrop

Constructor Summary
ConversationLockFactory()
           
 
Method Summary
static ConversationLock createLock()
          When running on Java 1.5+, returns a jdk5 concurrent lock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversationLockFactory

public ConversationLockFactory()
Method Detail

createLock

public static ConversationLock createLock()
When running on Java 1.5+, returns a jdk5 concurrent lock. When running on older JDKs with the 'util.concurrent' package available, returns a util concurrent lock. In all other cases a "no-op" lock is returned.



Copyright © 2004-2007. All Rights Reserved.