Re: [Resin-interest] custom component providers for injection

2013-02-27 Thread Scott Ferguson
On 2/27/13 11:36 AM, Olaf Krische wrote: >> 3) >> >> 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, a

Re: [Resin-interest] custom component providers for injection

2013-02-27 Thread Olaf Krische
Ole! > > 1) I get an exception: > > Can't find a bean for 'class ServiceService' > > Do i need to register the MyFactory anywhere manually? Yes. I have to put at least an empty beans.xml into META-INF of the jar to include. > > 2) > > I have a listener, that starts/stops the ComponentProv

Re: [Resin-interest] custom component providers for injection

2013-02-27 Thread Olaf Krische
An: resin-interest@caucho.com > Betreff: Re: [Resin-interest] custom component providers for injection > On 2/24/13 2:06 PM, Olaf Krische wrote: > > Hello, > > > > by the way, about injection, is there an tutorial out there on how to > > bind custom component providers

Re: [Resin-interest] custom component providers for injection

2013-02-25 Thread Scott Ferguson
On 2/24/13 2:06 PM, Olaf Krische wrote: > Hello, > > by the way, about injection, is there an tutorial out there on how to > bind custom component providers to Resin's CDI? For example, i use > picocontainer and i would like to have Resin ask picocontainer as well > (mostly singletons) > > For Jers

[Resin-interest] custom component providers for injection

2013-02-24 Thread Olaf Krische
Hello, by the way, about injection, is there an tutorial out there on how to bind custom component providers to Resin's CDI? For example, i use picocontainer and i would like to have Resin ask picocontainer as well (mostly singletons) For Jersey, which also uses Injection, i have created a bri