[picocontainer-dev] Decorator with 2.x ?

GrĂ©gory Joseph <[email protected]> Thu, 27 Jan 2011 19:18:25 +0100
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Hi list,

Is there any way to use Decorated with 2.x without using Decorating ?
Point is, I want to use a certain adapter and a certain Decorator on
only a limited set of components I'm registering, and it seems like
creating my container with the Decorating factory will have all my
components decorated.

If org.picocontainer.behaviors.Decorated.Decorator was public, I guess
I could do what I want here, but maybe I'm look at it the wrong way,
and there's another method I could use ?

I'm essentially trying to decorate components, bean-style, based on an
existing mechanism (which loads those values of a JCR repository, if
you must know) - so while I know where those values come from at
registration time, I have no idea what they (add to that the fact that
I need to proxy those objects because said values can change over
time;))

Thanks for any hint,

-g

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email