users@glassfish.java.net

Re: registering OSGi services in v3

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 09 Jun 2009 22:34:14 -0700

Johan

just published a blog on using Declarative Services, HTH.

On Jun 9, 2009, at 1:47 PM, glassfish_at_javadesktop.org wrote:

> Hi,
>
> I have read Jerome's excellent blog entry at
> http://blogs.sun.com/dochez/entry/glassfish_v3_extensions_part_3 .
> Unfortunately, I am not that deep in Spring, so I want to register
> an OSGi service from an OSGi bundle itself (the bundle contains the
> implementation).
>
> It is not clear to me how the binding between the
> @Resource(mappedName="secondService") in the WEBCLIENT and the OSGi
> service registry is done. I assume that this is what the spring-osgi
> thing does for you, but it probably comes down to registering the
> service implementation with a specific property with the OSGi
> registry?
>
> Thanks,
>
> - Johan
> [Message sent by forum member 'johanvos' (johanvos)]
>
> http://forums.java.net/jive/thread.jspa?messageID=350138
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>