felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balazs Zsoldos (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5289) 5.1 PID Handling of Factory Configurations
Date Tue, 27 Sep 2016 12:58:20 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526041#comment-15526041

Balazs Zsoldos commented on FELIX-5289:

If I unserstood well, this is a feature I have been waiting for a long time. However, I would
like to have some questions.

At the moment PID for factory configurations look like: _myFactoryPID.GUID_

What will happen with these configurations if I upgrade to the next versions of ConfigAdmin?
I can imagine two solutions:

 - They will be renamed to _myFactoryPID#GUID_
 - They will be left as they are

In case that they will be left as they are, how can we get them with the new functions?

The _Configuration_ interface contains the following functions: _getPid()_ and _getFactoryPid()_.
How can we get the alias of the PID? Do we need to do some String evaluation? I am missing
a function like _getAlias()_ from the _Configuration_ or a constant that tells you the separation

> 5.1 PID Handling of Factory Configurations
> ------------------------------------------
>                 Key: FELIX-5289
>                 URL: https://issues.apache.org/jira/browse/FELIX-5289
>             Project: Felix
>          Issue Type: Sub-task
>          Components: Configuration Admin
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: configadmin-1.9.0
> There are two new methods defined in RFC 227 for getting factory configurations (getFactoryConfiguration)

This message was sent by Atlassian JIRA

View raw message