Re: Using registry in a factory

2007-05-17 Thread Mark Addleman
s Sent: Wednesday, May 16, 2007 2:55:44 PM Subject: Re: Using registry in a factory You can't get the Registry, but you can get an ObjectLocator, which includes all the key methods of Registry. This can be injected into your ServiceFactory implementation. On 5/16/07, Mark Addleman <[EMAIL

Using registry in a factory

2007-05-16 Thread Mark Addleman
I'd like to use tapestry-ioc outside the context of a web app but I'm running into a conceptual problem. I need to create and destroy objects in response to asynchronous events, so I've defined the following interface: public interface ServiceFactory { public Service createService(Registry r