]
jaikiran pai updated EJBTHREE-1896:
-----------------------------------
Fix Version/s: Plugin 1.0.14
Lifecycle callback interceptor generation happens multiple times for
each bean context
--------------------------------------------------------------------------------------
Key: EJBTHREE-1896
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1896
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: 1.1.14
Reporter: jaikiran pai
Assignee: jaikiran pai
Priority: Blocker
Fix For: 1.1.15, Plugin 1.0.14
Looking at the performance of a SFSB method invocation, the
LifecycleCallbacks.createLifecycleCallbackInterceptors method shows up as being called
during prePassivate, postActivate, postConstruct and other similar lifecycle callbacks of
each bean context.
The lifecycle callback interceptors are per bean context and can be created once during
bean context created and maintained for future use. This will avoid repeated calls to
LifecycleCallbacks.createLifecycleCallbackInterceptors method, which is expensive because
of the AOP binding, annotation scanning and java reflection logic it has.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: