org.jboss.aspects.txlock
Class TxLockInterceptor

java.lang.Object
  extended by org.jboss.aspects.txlock.TxLockInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class TxLockInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

This interceptor handles chooses an object to invoke on based on the transaction

Version:
$Revision: 1.3.2.3 $
Author:
Bill Burke

Field Summary
protected  org.jboss.logging.Logger log
          Logging instance
 
Constructor Summary
TxLockInterceptor(TransactionManager tm, QueuedTxLock lock)
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.jboss.logging.Logger log
Logging instance

Constructor Detail

TxLockInterceptor

public TxLockInterceptor(TransactionManager tm,
                         QueuedTxLock lock)
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.