users@glassfish.java.net

Re: OSGi and _at_Resource - Is the reference static

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Wed, 02 Dec 2009 06:29:57 -0800

Hi Johan

So far it's only static. you would need to start using OSGi service references to be able to see the new one. Please file an RFE so we can remember to provide a solution.

thx, jerome

On Dec 2, 2009, at 4:27 AM, glassfish_at_javadesktop.org wrote:

> Hi,
>
> I have looked through the examples with declarative services etc in conjunction with @Resource annotation.
>
> I am curious if the resource annotated with @Resource is dynamic (is it tracked, will it be replaced if a new one comes etc as with spring-dm) or static? I am unable to find any info about this.
>
> Best Regards,
> Johan Rask
> [Message sent by forum member 'johanrask' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=374285
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>