Steven E. Harris a écrit :
Clement Escoffier <[EMAIL PROTECTED]> writes:
Lifecycle callbacks can be without any argument or with the bundle
context.
Are you saying that the INVALID->VALID callback can take a
BundleContext argument? When looking at the code for
LifecycleCallback.call(), it looks like it will only call a
no-argument method.
This isn't such a big issue, as the constructor is really a better
place to receive the BundleContext, but I want to make sure I'm
understanding you correctly here.
You're right. I remove (long time ago) this "feature" to force to get
the bundle context in the constructor. However, DS supports it, so
perhaps I need to re-allow this feature.
Clement
PS : You know iPOJO better than me ;-)
--
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