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

Deprecated.

@Deprecated
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 5311 2008-02-06 03:22:00Z manik.surtani@jboss.com $
Author:
Bela Ban

Field Summary
 
Fields inherited from class org.jboss.cache.interceptors.Interceptor
cache, configuration, last, log, next, trace
 
Constructor Summary
UnlockInterceptor()
          Deprecated.  
 
Method Summary
 Object invoke(InvocationContext ctx)
          Deprecated. Using this method call for forwarding a call in the chain is not redable and error prone in the case of interceptors extending other interceptors.
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
assertTransactionValid, dumpStatistics, getLast, getNext, getStatisticsEnabled, initLogger, isActive, isPreparing, isValid, nextInterceptor, peekNode, resetStatistics, setCache, 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()
Deprecated. 
Method Detail

invoke

public Object invoke(InvocationContext ctx)
              throws Throwable
Deprecated. 
Description copied from class: Interceptor
Using this method call for forwarding a call in the chain is not redable and error prone in the case of interceptors extending other interceptors. This metod rather refers to interceptor doing its business operations rather than delegating to the nextInterceptor interceptor in chain. For delegation please use Interceptor.nextInterceptor(org.jboss.cache.InvocationContext)

Overrides:
invoke in class Interceptor
Throws:
Throwable


Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.