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

Factory configuration adapter ignores factory method

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            pderop Pierre De Rop
            pderop Pierre De Rop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: