org.jboss.ejb3.tx
Class StatelessBMTInterceptor

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

public class StatelessBMTInterceptor
extends BMTInterceptor

EJB 3 13.6.1: If a stateless session bean instance starts a transaction in a business method or interceptor method, it must commit the transaction before the business method (or all its interceptor methods) returns.


Field Summary
 
Fields inherited from class org.jboss.ejb3.tx.BMTInterceptor
tm
 
Constructor Summary
StatelessBMTInterceptor(javax.transaction.TransactionManager tm)
           
 
Method Summary
 java.lang.Object handleInvocation(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class org.jboss.ejb3.tx.BMTInterceptor
invoke
 
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
 

Constructor Detail

StatelessBMTInterceptor

public StatelessBMTInterceptor(javax.transaction.TransactionManager tm)
Parameters:
tm -
Method Detail

handleInvocation

public java.lang.Object handleInvocation(org.jboss.aop.joinpoint.Invocation invocation)
                                  throws java.lang.Throwable
Specified by:
handleInvocation in class BMTInterceptor
Throws:
java.lang.Throwable