Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5320

Dependency Manager: adapter service propagates adaptee properties *after* the init (and start) callbacks are called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • org.apache.felix.dependencymanager-r8
    • None
    • Dependency Manager
    • None

    Description

      In an adapter service, created using the createAdapterService method of DependencyManager class, one would expect to find the adaptee's properties being propagated to the adapter service itself, as stated in the documentation (http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager/reference/component-adapter.html).

      Instead no propagation happens, and both init and start methods won't see any propagated properties.

      After investigating I've found that propagations indeed happens (via AdapterServiceImpl's propagateAdapteeProperties) only after the callbacks are called.

      Attachments

        Activity

          People

            Unassigned Unassigned
            a.leofreddi Andrea Leofreddi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: