Re: IoC multiple service instances

2011-12-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Dec 2011 10:10:37 -0200, Blower, Andy wrote: Thanks for the reply Thiago, but I have no idea what you mean. Sorry if I'm being dumb.. ;-) Something like this (not tested): public interface Service { } public class ControllingServiceImpl implements ControllingService {

Re: IoC multiple service instances

2011-12-01 Thread Thiago H. de Paula Figueiredo
Hi! Have you thought about the directing service receiving a distributed configuration of service implementations? That's what I'd try first. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnolog

IoC multiple service instances

2011-12-01 Thread Blower, Andy
I have an usual situation that I'm not sure what the best way of implementing is with T5 IoC. It feels like I need a Factory, but how that would fit in with the service binding and injection I'm not sure. I'm hoping that I can get some suggestions from the list. I have a service that currentl