cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (DOSGI-194) Decide how DOSGi needs to handle service.exported.interfaces with multiple values
Date Fri, 21 Jun 2013 20:06:21 GMT


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:
>             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:

View raw message