Hi,

it's definitely a bug. It looks like onGet and onSet are not giving the pojo 
object to the interceptors. Can you open an issue ?

For the time being you can use the 
org.apache.felix.ipojo.InstanceManager#getPojoObject method to retrieve the 
Object.

Regards,

Clement

On 19 mai 2013, at 10:32, Michiel Vermandel <[email protected]> wrote:

> Hi,
> 
> I am using ipojo 1.8.6.
> 
> I had written a handler and registered a field in the configure method.
> When the field was accessed, the onGet method of my handler is called, but 
> the pojo parameter was empty (null).
> After invesigating the source code of ipojo, I found this:
> 
> InstanceManager.java:
> line 1114:
> Object handlerResult = list[i].onGet(null, fieldName, initialValue);
> 
> Why is null passed and not the pojo object? 
> 
> How can I get the actual pojo object of the field?
> 
> Thanks
> 
> -----------------
> http://www.codessentials.com - Your essential software, for free!
> Follow us at http://twitter.com/#!/Codessentials


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to