[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1896) Lifecycle callback interceptor generation happens multiple times for each bean context
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Sun Aug 30 04:25:23 EDT 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: 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