On Jan 5, 2009, at 5:01 PM, Fabio Mancinelli wrote:
Vincent Massol wrote:
There must be a way to pass information to the Resource. Maybe
there's
a notion of Context somewhere?
If so then we should put the Component Manager reference in it so
that
PageResource have access to it.
I've found an interesting piece of software that pobably does what you
were saying:
http://svn.sonatype.org/spice/trunk/plexus-restlet-
bridge/
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().
Thanks
-Vincent
http://xwiki.com
http://massol.net
http://xwiki.org