Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1896

Lifecycle callback interceptor generation happens multiple times for each bean context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.1.15, Plugin 1.0.14
    • 1.1.14
    • core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: