Re: Dumb question about iPojo service structure

2012-01-18 Thread Bengt Rodehav
I'm not an expert on either iPOJO or OSGi although I use them both. One of the mistakes I sometimes do is to forget to export my packages. Since you have renamed the packages from the example you need to make sure that those packages are exported. Might be worth to check? /Bengt 2012/1/18

Re: EventAdmin Asynchronous/Parallel EventHandler

2012-01-18 Thread Holger Hoffstätte
On 18.01.2012 03:35, DBinSD wrote: Does the felix implementation of the EventAdmin service support the delivery of events, asynchronously and in parallel to multiple listeners at once? It This was addressed as part of RFC 157 (Updates to EventAdmin) sometime in 2010 and accepted, though I

Re: Dumb question about iPojo service structure

2012-01-18 Thread Stephan-Frank Henry
Hi, On 18.01.2012, at 12:27, Bengt Rodehav wrote: I'm not an expert on either iPOJO or OSGi although I use them both. One of the mistakes I sometimes do is to forget to export my packages. Since you have renamed the packages from the example you need to make sure that those packages are

Re: Dumb question about iPojo service structure

2012-01-18 Thread Bengt Rodehav
Frank, It's not the symbolic name that's important, it's the export directive. You need to make sure that the packages are exported. /Bengt 2012/1/18 Stephan-Frank Henry frank.he...@gmx.net Hi, On 18.01.2012, at 12:27, Bengt Rodehav wrote: I'm not an expert on either iPOJO or OSGi

Re: Dumb question about iPojo service structure

2012-01-18 Thread Guillaume Sauthier (Objectweb)
Looks like you have no instance of the HelloImpl component Can you check that this component also provides a service (using @Provides for example) ? --G 2012/1/17 Stephan-Frank Henry frank.he...@gmx.net Hi, first off, thanks for the feedback. On 17.01.2012, at 11:25, Clement Escoffier

Programatically create package dependencies for a bundle

2012-01-18 Thread Daniel Spicar
Hi, I have an issue with package dependencies. We have a service that allows other components to register scala-based templates at runtime (typically when the component activates). These templates are then processed, compiled, and loaded dynamically. However this process adds new package

Re: Programatically create package dependencies for a bundle

2012-01-18 Thread Felix Meschberger
Hi, I think ResolverHooks can be used for this. AFAICT this is supported in the latest Felix framework release. Regards Felix Am 18.01.2012 um 15:33 schrieb Daniel Spicar: Hi, I have an issue with package dependencies. We have a service that allows other components to register

Re: Programatically create package dependencies for a bundle

2012-01-18 Thread Richard S. Hall
On 1/18/12 09:33 , Daniel Spicar wrote: Hi, I have an issue with package dependencies. We have a service that allows other components to register scala-based templates at runtime (typically when the component activates). These templates are then processed, compiled, and loaded dynamically.

Re: Dumb question about iPojo service structure

2012-01-18 Thread Stephan-Frank Henry
On 17.01.2012, at 13:10, Guillaume Sauthier wrote: Looks like you have no instance of the HelloImpl component Can you check that this component also provides a service (using @Provides for example) ? Yes, I have virtually the same as in the examples located under

Re: Dumb question about iPojo service structure

2012-01-18 Thread Stephan-Frank Henry
Bengt, On 18.01.2012, at 13:45, Bengt Rodehav wrote: Frank, It's not the symbolic name that's important, it's the export directive. You need to make sure that the packages are exported. Ah ok, yeah I like tripple checked them and they look good. Perhaps I will see if any 'special hidden

Re: Programatically create package dependencies for a bundle

2012-01-18 Thread Richard S. Hall
On 1/18/12 10:29 , Daniel Spicar wrote: On 18 January 2012 16:11, Richard S. Hallhe...@ungoverned.org wrote: I agree it isn't the best, since all service clients would need to add the dynamic import. Perhaps you need to think about restructuring your service. Since the clients must not have a

Re: Felix DependencyManager with annotation/eclipse

2012-01-18 Thread Mohica Jasha
Hi Pierre, Sorry for my late response. How I debug in Eclipse: I am using http://karaf.apache.org/ as my target platform and http://code.google.com/a/eclipselabs.org/p/eik/ plugin which integrates karaf with eclipse for debugging. The way it works is that: I don't need to deploy the generated

Re: Dumb question about iPojo service structure

2012-01-18 Thread Clement Escoffier
Hi, On 18.01.2012, at 16:59, Stephan-Frank Henry wrote: On 17.01.2012, at 13:10, Guillaume Sauthier wrote: Looks like you have no instance of the HelloImpl component Can you check that this component also provides a service (using @Provides for example) ? Yes, I have virtually the same

iPojo + Sling Context

2012-01-18 Thread David G.
Hi, I'm assuming the answer is no to my Question, but through i'd ask anyhow: Is there any way an iPOJO can gain access to the Sling context that is resposible of instantiating the iPOJO (assuming there is a sling request that initiated the instantiation of the iPOJO and its hasn't been

Re: iPojo + Sling Context

2012-01-18 Thread Clement Escoffier
Hi, I've no idea how the Sling Context can be retrieved. Maybe from some service giving you your current Sling Context (if it behaves as a Transaction Manager). Felix can probably answer. Regards, Clement On 18.01.2012, at 20:39, David G. wrote: Hi, I'm assuming the answer is no to my