Package org.jboss.as.ejb3.tx
Class StatefulBMTInterceptor
- java.lang.Object
-
- org.jboss.as.ejb3.tx.BMTInterceptor
-
- org.jboss.as.ejb3.tx.StatefulBMTInterceptor
-
- All Implemented Interfaces:
org.jboss.invocation.Interceptor
public class StatefulBMTInterceptor extends BMTInterceptor
A per instance interceptor that keeps an association with the outcoming transaction. Enterprise Beans 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.- Author:
- Carlo de Wolf
-
-
Constructor Summary
Constructors Constructor Description StatefulBMTInterceptor(EJBComponent component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjecthandleInvocation(org.jboss.invocation.InterceptorContext invocation)-
Methods inherited from class org.jboss.as.ejb3.tx.BMTInterceptor
getComponent, getCurrentTransactionTimeout, handleException, processInvocation
-
-
-
-
Constructor Detail
-
StatefulBMTInterceptor
public StatefulBMTInterceptor(EJBComponent component)
-
-
Method Detail
-
handleInvocation
protected Object handleInvocation(org.jboss.invocation.InterceptorContext invocation) throws Exception
- Specified by:
handleInvocationin classBMTInterceptor- Throws:
Exception
-
-