You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Oliver Lietz (Jira)" <ji...@apache.org> on 2020/04/11 23:17:00 UTC

[jira] [Created] (KARAF-6676) Support OSGi R7 factory configurations with factory PID and name

Oliver Lietz created KARAF-6676:
-----------------------------------

             Summary: Support OSGi R7 factory configurations with factory PID and name
                 Key: KARAF-6676
                 URL: https://issues.apache.org/jira/browse/KARAF-6676
             Project: Karaf
          Issue Type: New Feature
          Components: karaf
            Reporter: Oliver Lietz
             Fix For: 4.3.0


[104.7.2 Creating a Managed Service Factory Configuration Object|https://osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html#i1761778]:

{quote}
[...]
The {{ConfigurationAdmin}} class provides the following two methods allowing the caller to influence the generation of the PID when creating a new Configuration for a Managed Service Factory. The PID for the Configuration object is generated from the provided factory PID and the provided name by starting with the factory PID, appending a tilde ({{'~' \u007e}}), and then appending the name. The {{getFactoryConfiguration}} methods must atomically create and persistently store a Configuration object if it does not yet exist.
[...]
{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)