-
May 22nd, 2008, 06:18 PM
#1
Bundle class sharing and reloading
I was just wondering if for example I have a bundle A, with a service interface returning a bean, called C1, and a bundle B who call bundle A and get some instances of C1. If I add a new field to class C1 and redeploy bundle A. What happen to the existing instance of C1 in bundle B ? Is bundle B restarted as well ? (I hope i'm clear enough)
-
Jun 2nd, 2008, 01:08 AM
#2
Bundle class sharing and reloading
If bundle B has a concrete dependency (a wire) on bundle A, then redeploying bundle A will cause bundle B to be restarted. So, in your example, if C1 is in package q, then B has a wire to A for q. Refreshing A will refresh B.
Hope that helps.
Rob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules