org.jboss.ejb3.tx
Class StatefulBMTInterceptor
java.lang.Object
org.jboss.ejb3.tx.AbstractInterceptor
org.jboss.ejb3.tx.BMTInterceptor
org.jboss.ejb3.tx.StatefulBMTInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
public class StatefulBMTInterceptor
- extends BMTInterceptor
EJB 3 13.6.1:
In the case of a stateful session bean, it is possible that the business method that started a transaction
completes without committing or rolling back the transaction. In such a case, the container must retain
the association between the transaction and the instance across multiple client calls until the instance
commits or rolls back the transaction. When the client invokes the next business method, the container
must invoke the business method (and any applicable interceptor methods for the bean) in this transac-
tion context.
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatefulBMTInterceptor
public StatefulBMTInterceptor(TransactionManager tm)
- Parameters:
tm -
handleInvocation
protected 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.