org.codehaus.wadi.core.contextualiser
Class BasicMotableLockHandler

java.lang.Object
  extended by org.codehaus.wadi.core.contextualiser.BasicMotableLockHandler
All Implemented Interfaces:
MotableLockHandler

public class BasicMotableLockHandler
extends java.lang.Object
implements MotableLockHandler

Version:
$Rev:$ $Date:$

Constructor Summary
BasicMotableLockHandler()
           
 
Method Summary
 boolean acquire(Invocation invocation, Motable motable)
           
protected  java.util.concurrent.locks.Lock getLock(Invocation invocation, Motable motable)
           
 void release(Invocation invocation, Motable motable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMotableLockHandler

public BasicMotableLockHandler()
Method Detail

acquire

public boolean acquire(Invocation invocation,
                       Motable motable)
Specified by:
acquire in interface MotableLockHandler

release

public void release(Invocation invocation,
                    Motable motable)
Specified by:
release in interface MotableLockHandler

getLock

protected java.util.concurrent.locks.Lock getLock(Invocation invocation,
                                                  Motable motable)


Copyright © 2011. All Rights Reserved.