Re: Export-Package and copying classes

2010-10-05 Thread niiba...@gmail.com
Thanks a lot for your explanation. I'll try to get rid of my own class inside groovy.lang package. On 06.10.2010 09:36, Felix Meschberger wrote: Hi, What you have here (and want to do) is a split-package situation, which is bad style and prone to fail. Thus, if your bundle exports groovy.lan

Re: Export-Package and copying classes

2010-10-05 Thread Felix Meschberger
Hi, What you have here (and want to do) is a split-package situation, which is bad style and prone to fail. Thus, if your bundle exports groovy.lang, it should export the complete groovy.lang. But probably this is a very bad idae because you don't have the rest of the groovy bundle in your bundle

Export-Package and copying classes

2010-10-05 Thread niiba...@gmail.com
Hello! I have a problem with "Export-Package" directive. I have a bundle, which contains package "groovy.lang". This package contains only one class, which I need to access protected method in class in groovy library. I have another bundle "com.springsource.org.codehaus.groovy", which expo

Re: services vs. service trackers

2010-10-05 Thread Donald Whytock
I'll build it that way. Thanks! Don On Tue, Oct 5, 2010 at 3:04 PM, Richard S. Hall wrote: >  On 10/5/10 14:58, Donald Whytock wrote: >> >> I'm using the objectClass along with another property, yes.  Currently >> the bundles generate services of a particular class and add a name >> property; th

Re: services vs. service trackers

2010-10-05 Thread Richard S. Hall
On 10/5/10 14:58, Donald Whytock wrote: I'm using the objectClass along with another property, yes. Currently the bundles generate services of a particular class and add a name property; the instances look for services of that type and compare the name property to a table of names they look for

Re: services vs. service trackers

2010-10-05 Thread Donald Whytock
I'm using the objectClass along with another property, yes. Currently the bundles generate services of a particular class and add a name property; the instances look for services of that type and compare the name property to a table of names they look for. If I did it the other way around, the na

Re: services vs. service trackers

2010-10-05 Thread Richard S. Hall
On 10/5/10 13:26, Donald Whytock wrote: Hi all... I have an efficiency question. I have a bundle kicking off a small number of instances (typically one but could be more) interacting with a larger number of bundles. At the moment I have the large group kicking off services with names that the

services vs. service trackers

2010-10-05 Thread Donald Whytock
Hi all... I have an efficiency question. I have a bundle kicking off a small number of instances (typically one but could be more) interacting with a larger number of bundles. At the moment I have the large group kicking off services with names that the small group of instances tracks. I'm cons

Re: Question on the order used to resolve bundles

2010-10-05 Thread Guillaume Nodet
You should ask karaf specific question on the karaf users list. Anyway, I suppose you're talking about maven resolution, not osgi resolution which is completely different. The thing is that the maven url handler is nothing more than a url handler: i.e. it can grab an input stream from a url. This

Re: iPOJO and JMS MessageListener...

2010-10-05 Thread Kit Plummer
On Oct 4, 2010, at 10:48 PM, Clement Escoffier wrote: > Hi, > > On 04.10.2010, at 22:00, Kit Plummer wrote: > >> For some reason I can't set values of an instance of a JMS >> MessageListener component. The value is always null. Is this a known >> problem with threads other than Runnable (w

Question on the order used to resolve bundles

2010-10-05 Thread mvangeertruy
All, Recently I was reviewing my logs, and noticed something strange.  The order in which bundles are resolved in Karaf 2.0.0 appears to be: 1) look in the system directory (called "local repository"), 2) Look in the local repository located in the users home/.m2 directory, 3) Look in