[osgi-dev] How to delay initialization of osgi:list ?

2013-09-03 Thread Soniya Chavan
Hello, How do I make sure that an osgi:list gets initialized after all the beans implementing the interface are initialized.I have a list of services. osgi:list id=serviceReferenceList interface=com.myapp.serviceprovider.IRemoteServiceProvider member-type=service-object/ Now this list should

Re: [osgi-dev] How to delay initialization of osgi:list ?

2013-09-03 Thread BJ Hargrave
Assuming that many bundles could register IRemoteServiceProvider services, how could Blueprint know when all of them have been registered? Some of these bundles may not have even been started yet. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance

Re: [osgi-dev] How to delay initialization of osgi:list ?

2013-09-03 Thread Soniya Chavan
Correct. So is refresh bundle (bundle which has the list declaration) a good option? Thanks Soniya From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] On Behalf Of BJ Hargrave Sent: Tuesday, September 03, 2013 6:07 PM To: OSGi Developer Mail List Subject: Re:

Re: [osgi-dev] osgi-dev Digest, Vol 83, Issue 3

2013-09-03 Thread Amit Gupta
. -- next part -- An HTML attachment was scrubbed... URL: http://mail.osgi.org/pipermail/osgi-dev/attachments/20130903/d62ff8ea/attachment-0001.html -- Message: 2 Date: Tue, 3 Sep 2013 08:37:13 -0400 From: BJ Hargrave hargr...@us.ibm.com To: OSGi

Re: [osgi-dev] How to delay initialization of osgi:list ?

2013-09-03 Thread BJ Hargrave
No. You should just handle the dynamics. reference-list is updated as the services change. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Soniya Chavan