On 2/27/13 11:36 AM, Olaf Krische wrote:
>> Do i really have to write explicitly, what MyFactory can produce? I have
>> hundreds of components in my provider, that potentially could be used.
>> I would like to be able to define a chain, like, look first in my own
>> ComponentProvider, and then maybe lookup somewhere else.
> Did not find a solution for that one yet. I can give my produce method an
> InjectionPoint to get more info about the context, but i still have to create
> a produce method for each type to produce.
> Any ideas?
You could use the extension mechanism. I'm not sure if there's a good
tutorial. It's a bit more complicated
than basic CDI use. (And I'm not sure I can quickly explain it here.)
> Nice tutorial by the way:
> resin-interest mailing list
resin-interest mailing list