Re: UPnP

2012-03-29 Thread Loic Petit
Hi, In OSGi, there is the concept of basedriver (which is standardized). Basically, all remote and local devices are registered on the service registry as org.osgi.service.upnp.UPnPDevice services. Then, it is just a matter of filtering on service properties to get the device you want and

[iPojo] Validate not called after API component creation

2011-01-11 Thread Loic Petit
Hi everyone, I think I discovered a bug with iPojo. I quickly summarize what I do. I've got a class @Component @Provides(strategy = SERVICE) class A implements B { @Validate public void ready() { // Initialize Stuff } } Then, inside my code, I create a new instance via

[iPOJO] Filter as a parameter

2010-06-18 Thread Loic Petit
Hi everyone, I want to know if there is a clean way to do this thing. I've got a class with the following form: @Component @Provides class A { @Requires private B[] b; } This component is then created by the iPojo API via its factory. What I would like to do: give a ldap filter on the