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
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
-
Field Summary
Fields inherited from interface org.jboss.invocation.Interceptor
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjecthandleInvocation(org.jboss.invocation.InterceptorContext invocation) Methods inherited from class org.jboss.as.ejb3.tx.BMTInterceptor
getComponent, getCurrentTransactionTimeout, handleException, processInvocation
-
Constructor Details
-
StatefulBMTInterceptor
-
-
Method Details
-
handleInvocation
protected Object handleInvocation(org.jboss.invocation.InterceptorContext invocation) throws Exception - Specified by:
handleInvocationin classBMTInterceptor- Throws:
Exception
-