hi peter, it is doable....
create a - let's say - a factory service with a Bean getBean() method. then create a service for the Bean interface by using the PropertyShadowBuilder service. then you'll be able to inject the Bean whereever you need it. when you access the bean, the factory.getBean() method will be called. and if you always create a new bean you have what you need. g, kris Peter Niederwieser <pnied...@gmail.com> 15.09.2009 05:50 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An users@tapestry.apache.org Kopie Thema Re: How to create analog of Spring FactoryBean? I'd be interested to see a ServiceLifecycle implementation for prototype scope. I recently tried to come up with one, but it didn't seem to be doable. Cheers, Peter Thiago H. de Paula Figueiredo wrote: > > Then you can create a new Tapestry-IoC scope (ServiceLifecycle > implementation) that creates a new object everytime an injection is made. > -- View this message in context: http://www.nabble.com/How-to-create-analog-of-Spring-FactoryBean--tp25346888p25447319.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org