Re: non-jar as bundle unit

2008-03-12 Thread jaredmac
Just to close the loop on this, I've made good progress prototyping bundles in our current system. Basically, I can achieve modularity by having a single manifest file for each existing jar, but having that manifest point to any number of independent XML files in its Service-Component attribute (I

[VOTE] Changing version schema for org.osgi.* modules

2008-03-12 Thread Stefano Lenzi
Hi All, As discussed on the thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03733.html A new version schema for org.osgi.* module has been proposed. The new version schema is the one already in use by the Apache Felix Common subproject. For example if the new version schema will be a

Re: [VOTE] Changing version schema for org.osgi.* modules

2008-03-12 Thread Stefano Lenzi
[X] +1 Use new version schema for org.osgi.* module [ ] 0 Don't care. [ ] -1 Keep the old name schema Stefano "Kismet" Lenzi Stefano Lenzi wrote: Hi All, As discussed on the thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03733.html A new version schema for org.osgi.* module has be

Best practice for non-bundle code to access bundles?

2008-03-12 Thread jaredmac
I have an application in which non-bundle code would like to access registered services/bundles loaded by Felix. For example, I have Bundle X whose activate() method gets a reference to all the currently registered implementers of Interface Y. Can other non-bundle parts of the application code get

Re: Best practice for non-bundle code to access bundles?

2008-03-12 Thread Richard S. Hall
Did you read the "launching and embedding document for the framework"? This will give you some ideas. I would give you a pointer, but the web site/wiki seems to be acting up right now. -> richard jaredmac wrote: I have an application in which non-bundle code would like to access registered

Re: Best practice for non-bundle code to access bundles?

2008-03-12 Thread Richard S. Hall
Here is the link: http://cwiki.apache.org/FELIX/launching-and-embedding-apache-felix.html -> richard jaredmac wrote: I have an application in which non-bundle code would like to access registered services/bundles loaded by Felix. For example, I have Bundle X whose activate() method gets a r