站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 aspects API Documentation 英文版文档

TxLockInterceptor (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档


org.jboss.aspects.txlock
Class TxLockInterceptor

java.lang.Object
  extended byorg.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 $
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.