Re: OBR best practice

2008-01-10 Thread Pierre De Rop
Richard; I think I understand what is going on: In the OBR, I have: * B1.jar (with Import-Package: com.b2 and Import-Service: B2) - installed from OBR * B2.jar (with Export-Package: com.b2) - installed from OBR * B2Impl.jar (with Export-Service: B2) - installed from OBR *

Bundle in RESOLVED state even after a class has been loaded by that bundle

2008-01-10 Thread Sahoo
Hi, I am observing a strange thing. I see a bundle in RESOLVED state even after a class has been successfully loaded from that bundle. How is this possible? I am explicitly starting the bundle from another bundle and loading a class using Bundle.loadClass. Based on the following output (with

Re: Bundle in RESOLVED state even after a class has been loaded by that bundle

2008-01-10 Thread Angelo van der Sijpt
Hello Sahoo, The thing you're seeing is exactly what it should do. The RESOLVED state means that, on the module layer, all the bundle's imports are available (the manifest's ImportPackage: statements), and its exports are done too. Now, any bundle that imports packages which are exported