Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-5156

Support use of @Configurable mechanism across multiple OSGi bundles

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.5
    • Fix Version/s: None
    • Component/s: Core:AOP
    • Labels:
    • Last commented by a User:
      true

      Description

      In OSGI @Configurable mechanism works well only when used in one bundle.
      If there is <context:spring-configured /> in application contexts of more then one bundle, the AnnotationBeanConfigurerAspect (single instance) is injected with two different BeanConfigurerSupport objects in non deterministic order.
      Bundle whose BeanFactory is injected to aspect most recently works well - others don't work at all.

      Is there any work around for this problem?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                avatah Wojciech Durczyński
                Last updater:
                Juergen Hoeller
              • Votes:
                15 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 42 weeks, 5 days ago