felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clement Escoffier <clement.escoff...@gmail.com>
Subject Re: iPOJO callback access level modifiers
Date Fri, 02 Mar 2007 19:10:06 GMT
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 Escoffier
Grenoble University
LSR - Bat. C
220, Rue de la Chimie
BP 53

View raw message