Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
dependencymanager-3.1.0
-
None
Description
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):
Component adapter = dm.createFactoryConfigurationAdapterService("my.pid", "update", true) .setInterface(AdapterService.class.getName(), null) .setFactory(new Factory(), "create");
then the "setFactory(...)" parameters are ignored by the adapter.