[
https://issues.apache.org/jira/browse/FELIX-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065462#comment-15065462
]
Pierre De Rop commented on FELIX-5147:
--------------------------------------
Added test:
org.apache.felix.dependencymanager.itest/src/org/apache/felix/dm/itest/api/BundleAdapterWithCallbacksNotAutoConfiguredTest.java
> Bundle Adapter auto configures class fields even if callbacks are used
> ----------------------------------------------------------------------
>
> Key: FELIX-5147
> URL: https://issues.apache.org/jira/browse/FELIX-5147
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager
> Affects Versions: org.apache.felix.dependencymanager-r6
> Reporter: Pierre De Rop
> Assignee: Pierre De Rop
> Priority: Minor
> Fix For: org.apache.felix.dependencymanager-r7
>
>
> When a bundle adapter is used with some callbacks (with or without a callback
> instance), then any fields in the adapter class with type=Bundle are
> auto-injected.
> Normally, auto-configuration should be turned off when callback are used,
> exactly in the same manner it is done with regular service dependencies, or
> with service adapters.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)