Hi,
Got a question.
Hope anyone can help me.
In Section 4.3.12 (Business Method Interceptor Methods for Session Beans) of EJB 3.0 Core Specs, it says
"The AroundInvoke interceptor methods are supported for session beans. These interceptor methods may be defined on the bean class and/or on interceptor classes, and apply to the handling of the invocation
of the business methods of the bean�s business interface, component interface, and/or web service endpoint.
For stateful session beans that implement the SessionSynchronization interface, afterBegin occurs before any AroundInvoke method invocation, and beforeCompletion after all AroundInvoke invocations are finished."
My understanding is that "beforeCompletion" is not triggered by the invocation of the business methods and so why does "beforeCompletion" occur after all AroundInvoke invocations are finished?
Please help?
Thanks!!
Got a question.
Hope anyone can help me.
In Section 4.3.12 (Business Method Interceptor Methods for Session Beans) of EJB 3.0 Core Specs, it says
"The AroundInvoke interceptor methods are supported for session beans. These interceptor methods may be defined on the bean class and/or on interceptor classes, and apply to the handling of the invocation
of the business methods of the bean�s business interface, component interface, and/or web service endpoint.
For stateful session beans that implement the SessionSynchronization interface, afterBegin occurs before any AroundInvoke method invocation, and beforeCompletion after all AroundInvoke invocations are finished."
My understanding is that "beforeCompletion" is not triggered by the invocation of the business methods and so why does "beforeCompletion" occur after all AroundInvoke invocations are finished?
Please help?
Thanks!!