Regards, Amit Gupta Technical Lead - Product & Engineering Services
.............................................................................................................................................................. Tower III, HDC-6th Floor B Wing, Cybercity, Magarpatta City, Pune - 411013, India Tel: +91-20-39842000 Ext 2699 I Link: 9-621-3010 I Mobile: 91 9833941337 / 8237883208 | Email: [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: 03 September 2013 18:17 To: [email protected] Subject: osgi-dev Digest, Vol 83, Issue 3 Send osgi-dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://mail.osgi.org/mailman/listinfo/osgi-dev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of osgi-dev digest..." Today's Topics: 1. How to delay initialization of osgi:list ? (Soniya Chavan) 2. Re: How to delay initialization of osgi:list ? (BJ Hargrave) 3. Re: How to delay initialization of osgi:list ? (Soniya Chavan) ---------------------------------------------------------------------- Message: 1 Date: Tue, 3 Sep 2013 10:11:01 +0000 From: Soniya Chavan <[email protected]> To: OSGi Developer Mail List <[email protected]> Subject: [osgi-dev] How to delay initialization of osgi:list ? Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" 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 only be initialized when all the classes/beans implementing IRemoteServiceProvider interface are initialized. The problem that I am facing is that this osgi:list gets initialized before my bean implementing the IRemoteServiceProvider interface gets initialized and hence does not get set to the osgi list. Please help. Thanks Soniya DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. -------------- 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 <[email protected]> To: OSGi Developer Mail List <[email protected]> Subject: Re: [osgi-dev] How to delay initialization of osgi:list ? Message-ID: <ofc399d4e2.a072474e-on85257bdb.00452a9e-85257bdb.00455...@us.ibm.com> Content-Type: text/plain; charset="us-ascii" 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 [email protected] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Soniya Chavan <[email protected]> To: OSGi Developer Mail List <[email protected]> Date: 2013/09/03 06:27 Subject: [osgi-dev] How to delay initialization of osgi:list ? Sent by: [email protected] 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 only be initialized when all the classes/beans implementing IRemoteServiceProvider interface are initialized. The problem that I am facing is that this osgi:list gets initialized before my bean implementing the IRemoteServiceProvider interface gets initialized and hence does not get set to the osgi list. Please help. Thanks Soniya DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.osgi.org/pipermail/osgi-dev/attachments/20130903/ba09fcb4/attachment-0001.html> ------------------------------ Message: 3 Date: Tue, 3 Sep 2013 12:46:26 +0000 From: Soniya Chavan <[email protected]> To: OSGi Developer Mail List <[email protected]> Subject: Re: [osgi-dev] How to delay initialization of osgi:list ? Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Correct. So is refresh bundle (bundle which has the list declaration) a good option? Thanks Soniya From: [email protected] [mailto:[email protected]] On Behalf Of BJ Hargrave Sent: Tuesday, September 03, 2013 6:07 PM To: OSGi Developer Mail List Subject: Re: [osgi-dev] How to delay initialization of osgi:list ? 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<http://www.osgi.org/> [email protected]<mailto:[email protected]> office: +1 386 848 1781 mobile: +1 386 848 3788 From: Soniya Chavan <[email protected]<mailto:[email protected]>> To: OSGi Developer Mail List <[email protected]<mailto:[email protected]>> Date: 2013/09/03 06:27 Subject: [osgi-dev] How to delay initialization of osgi:list ? Sent by: [email protected]<mailto:[email protected]> ________________________________ 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 only be initialized when all the classes/beans implementing IRemoteServiceProvider interface are initialized. The problem that I am facing is that this osgi:list gets initialized before my bean implementing the IRemoteServiceProvider interface gets initialized and hence does not get set to the osgi list. Please help. Thanks Soniya DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. _______________________________________________ OSGi Developer Mail List [email protected]<mailto:[email protected]> https://mail.osgi.org/mailman/listinfo/osgi-dev DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.osgi.org/pipermail/osgi-dev/attachments/20130903/8af74664/attachment.html> ------------------------------ _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev End of osgi-dev Digest, Vol 83, Issue 3 *************************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Information contained and transmitted by this e-mail is confidential and proprietary to iGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or [email protected] <mailto:[email protected]>. iGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of iGATE. iGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While iGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about iGATE please visit www.igate.com <http://www.igate.com>. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
