On 2/25/15, 6:28 PM, "Antonio Sanso" <[email protected]> wrote:

>>
>>On 2/25/15, 5:31 PM, "Antonio Sanso" <[email protected]> wrote:
>>>Question on the implementation though.
>>>What if the sub service name is not set for a mapping?
>>In my implementation if the subServiceName is null, then it is 
>>registered 
>>as empty string and can be bound as target="(subServiceName=)”.
>
>so which is the Service User that is supposed to be bound by @Reference 
>in this case?

The intent of target="(subServiceName=)” (using an empty subServiceName) 
is for the component to start when there is a registered mapping with no 
subservice defined. So, if com.mybundle=serviceUser is registered then the 
@Reference will be bound to an object representing that mapping.

Marius

Reply via email to