[
https://issues.apache.org/jira/browse/DOSGI-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690664#comment-13690664
]
Sergey Beryozkin commented on DOSGI-194:
----------------------------------------
I've thought a bit more about it and I start wondering if Amichai just got it
right with respect to the possible complexity. From one point of view it does
make sense to let an OSGI service registration with multiple service interfaces
covered by a single service.exported.interfaces property with multiple values.
But then we may have a situation where we can get multiple
service.exported.interfaces with overlapping values.
Example, we may have a given object implementing "A, B, C", registration
involves "B" only and we have three service.exported.interfaces properties,
one with "B", other one with "A,B", next with "B,C" etc.
I guess the rule can be that it has to be an exact match, if an object was
registered with "A,B", then obviously only a property with "A,B" or "B,A" can
get matched
> Decide how DOSGi needs to handle service.exported.interfaces with multiple
> values
> ----------------------------------------------------------------------------------
>
> Key: DOSGI-194
> URL: https://issues.apache.org/jira/browse/DOSGI-194
> Project: CXF Distributed OSGi
> Issue Type: Task
> Components: DSW
> Reporter: Sergey Beryozkin
> Fix For: 1.6.0
>
>
> According to the original DOSGi CXF documentation
> "service.exported.interfaces" may have multiple values.
> The multiple values can be specified as a String array with Declarative
> Services or by a having a property value containing a comma-separated list of
> strings.
> The purpose of this task is to decide how DOSGI should handle this property
> when it has multiple String values. If the decision is made that no multiple
> values are supported then DOSGI will need to report a service exception when
> the property contains multiple values, irrespectively of how these multiple
> values have been specified (via Declarative Services or CXF specific
> extension)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira