Are you using an IoC container at all? On 4/24/09, Nick Wiedenbrück <[email protected]> wrote: > Hi, > > I'm having many Components (DropDowns, ChoiceRenderers, ...) that are reused > in different places in my application. For example I have one > ChoiceRenderer for persons, one for accounts and so on. I want to > centralize the creation of these components in a factory in order to decople > the clients. For example I'm thinking about a ChoiceRendererFactory with > methods createPersonChoiceRenderer() and createAccountChoiceRenderer(). > > Now, my question is where to put this factory. I need a central place, where > the can find the factory. Is it a good idea to have a method > createChoiceRendererFactory() on my Application class? > > Regards, > Nick >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
