Vincent Massol wrote: > On Jan 5, 2009, at 5:01 PM, Fabio Mancinelli wrote: > >> >> I will have a look at it. > > Note: we cannot have a dependency on plexus since we want it to work > also with OSGi for example. > > The init() way you've shown in the previous email sounds just perfect > to me. You let plexus instantiate the class and call init(). >
Argh :) The plexus bridge was simply perfect, it handled all the initialization and discovery of resources declared in a components.xml. Ok, I will work something out withouth dependencies... Re the plexus dependency: AFAIU we will have it anyway because we need plexus to instantiate the class. Maybe you were talking about resource classes that don't have to be subclass of some plexus-bridge superclass. Isn't it? -Fabio _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

