[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1896) Lifecycle callback interceptor generation happens multiple times for each bean context
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Thu Aug 20 03:28:26 EDT 2009
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
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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list