Pierre De Rop created FELIX-5402:
------------------------------------
Summary: Factory configuration adapter ignores factory method
Key: FELIX-5402
URL: https://issues.apache.org/jira/browse/FELIX-5402
Project: Felix
Issue Type: Bug
Components: Dependency Manager
Affects Versions: dependencymanager-3.1.0
Reporter: Pierre De Rop
Assignee: Pierre De Rop
Priority: Minor
Fix For: org.apache.felix.dependencymanager-r9
when you declare a factory configuration adapter service using dependency
manager, you can't specify a factory method parameter.
For example, you can't declare this: (the factory method is ignored):
{code}
Component adapter =
dm.createFactoryConfigurationAdapterService("my.pid", "update", true)
.setInterface(AdapterService.class.getName(), null)
.setFactory(new Factory(), "create");
{code}
then the "setFactory(...)" parameters are ignored by the adapter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)