Steven E. Harris a écrit :
In DS, the lifecycle callbacks tolerate the methods being declared as
"protected" access, but I noticed that iPOJO requires these methods to
be public. Would it be technically feasible for iPOJO to permit
declaration of non-public callback methods?

I guess this would require use of Class.getDeclaredMethod() rather
than just Class.getMethod() in org.apache.felix.ipojo.util.Callback,
the latter of which appears to only search for public methods.

It is a bug. I will write a Jira Issue. I should be fixed in the next commit (monday). Thank you for the feedback.

Clement

--
Clement Escoffier
Grenoble University
LSR - Bat. C
220, Rue de la Chimie
BP 53
38041 GRENOBLE CEDEX 9
04.76.51.40.24
http://clement.plop-plop.net


Reply via email to