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.16 2007/05/25 16:34:51 msurtani Exp $
Author:
Bela Ban

Field Summary
 
Fields inherited from class org.jboss.cache.interceptors.Interceptor
cache, configuration, last, log, next
 
Constructor Summary
UnlockInterceptor()
           
 
Method Summary
 java.lang.Object invoke(InvocationContext ctx)
           
 void setCache(CacheSPI cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
dumpStatistics, getLast, getNext, getStatisticsEnabled, isActive, isOnePhaseCommitPrepareMehod, isPreparing, isValid, resetStatistics, setLast, setNext, setStatisticsEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnlockInterceptor

public UnlockInterceptor()
Method Detail

setCache

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

invoke

public java.lang.Object invoke(InvocationContext ctx)
                        throws java.lang.Throwable
Overrides:
invoke in class Interceptor
Throws:
java.lang.Throwable