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.

Version:
$Revision: $
Author:
Carlo de Wolf

Field Summary
 
Fields inherited from class org.jboss.ejb3.tx.BMTInterceptor
tm
 
Constructor Summary
StatelessBMTInterceptor(TransactionManager tm)
           
 
Method Summary
 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(TransactionManager tm)
Parameters:
tm -
Method Detail

handleInvocation

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


Copyright © 2008 JBoss Inc.. All Rights Reserved.