org.jboss.cache.interceptors
Class UnlockInterceptor

java.lang.Object
  |
  +--org.jboss.cache.interceptors.Interceptor
        |
        +--org.jboss.cache.interceptors.UnlockInterceptor

public class UnlockInterceptor
extends Interceptor

When a call returns, unlocks all locks held by the current thread in the LockTable. This is a no-op if a transaction is used.

Version:
$Id: UnlockInterceptor.java,v 1.4 2005/07/04 11:39:07 msurtani Exp $
Author:
Bela Ban

Constructor Summary
UnlockInterceptor()
           
 
Method Summary
 java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
           
 void setCache(TreeCache cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnlockInterceptor

public UnlockInterceptor()
Method Detail

setCache

public void setCache(TreeCache cache)
Overrides:
setCache in class Interceptor

invoke

public java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
                        throws java.lang.Throwable
Overrides:
invoke in class Interceptor
java.lang.Throwable


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.