org.jboss.ejb3.tx
Class BMTInterceptor

java.lang.Object
  extended by org.jboss.ejb3.tx.AbstractInterceptor
      extended by org.jboss.ejb3.tx.BMTInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor
Direct Known Subclasses:
StatefulBMTInterceptor, StatelessBMTInterceptor

public abstract class BMTInterceptor
extends AbstractInterceptor

Comment


Field Summary
protected  javax.transaction.TransactionManager tm
           
 
Constructor Summary
protected BMTInterceptor(javax.transaction.TransactionManager tm)
           
 
Method Summary
protected abstract  java.lang.Object handleInvocation(org.jboss.aop.joinpoint.Invocation invocation)
           
 java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class org.jboss.ejb3.tx.AbstractInterceptor
getContainer, getName, resolveAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tm

protected final javax.transaction.TransactionManager tm
Constructor Detail

BMTInterceptor

protected BMTInterceptor(javax.transaction.TransactionManager tm)
Method Detail

handleInvocation

protected abstract java.lang.Object handleInvocation(org.jboss.aop.joinpoint.Invocation invocation)
                                              throws java.lang.Throwable
Throws:
java.lang.Throwable

invoke

public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable