Julian Sedding created SLING-12157:
--------------------------------------

             Summary: [osgi-mock] late binding does not work for non-service DS 
components 
                 Key: SLING-12157
                 URL: https://issues.apache.org/jira/browse/SLING-12157
             Project: Sling
          Issue Type: Task
          Components: Testing
    Affects Versions: Testing OSGi Mock 3.3.10
            Reporter: Julian Sedding
            Assignee: Julian Sedding


A DS component that is not a service can be "injected" and "activated", but if 
a service becomes available, that satisfies a dynamic reference, the "bind" 
method is not called. The same should be true for the "unbind" scenario.

I observed this when I was registering a {{ResourceDecorator}} service in a 
test case, and it did not get bound by the {{ResourceResolverFactoryActivator}} 
that was already registered by the {{SlingContext}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to