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
- Re: Discuss SLING-4312: Register an osgi service for each... Oliver Lietz
- Re: Discuss SLING-4312: Register an osgi service for... Antonio Sanso
- Re: Discuss SLING-4312: Register an osgi service... Oliver Lietz
- Re: Discuss SLING-4312: Register an osgi ser... Antonio Sanso
- Re: Discuss SLING-4312: Register an osgi... Carsten Ziegeler
- Re: Discuss SLING-4312: Register an osgi service for each... Antonio Sanso
- Re: Discuss SLING-4312: Register an osgi service for... Marius Petria
- Re: Discuss SLING-4312: Register an osgi service... Antonio Sanso
- Re: Discuss SLING-4312: Register an osgi ser... Marius Petria
- Re: Discuss SLING-4312: Register an osgi... Antonio Sanso
- Re: Discuss SLING-4312: Register an... Marius Petria
- Re: Discuss SLING-4312: Register an... Carsten Ziegeler
- Re: Discuss SLING-4312: Registe... Marius Petria
- Re: Discuss SLING-4312: Registe... Carsten Ziegeler
- Re: Discuss SLING-4312: Registe... Marius Petria
