org.jboss.cache.interceptors
Class UnlockInterceptor

java.lang.Object
  extended by org.jboss.cache.interceptors.Interceptor
      extended by org.jboss.cache.interceptors.UnlockInterceptor
All Implemented Interfaces:
InterceptorMBean

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.11 2006/05/06 09:53:11 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
dumpStatistics, getInvocationContext, getNext, getStatisticsEnabled, isActive, isBuddyGroupOrganisationMethod, isOnePhaseCommitPrepareMehod, isPreparing, isTransactionLifecycleMethod, isValid, resetStatistics, setInvocationContext, setNext, setStatisticsEnabled
 
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
Throws:
java.lang.Throwable


Copyright 1998-2005 JBoss Inc . All Rights Reserved.