Re: Getting Initializable called automatically..

2004-06-30 Thread Stephen McConnell
Eric Pugh wrote: Hi.. In Fulcurm the class DefaultLocalizationService's initialize() method was automatically called by the unit test's resolve method: /** * Called the first time the Service is used. */ public void initialize() throws Exception { // initBundleNames(nu

RE: Getting Initializable called automatically..

2004-06-30 Thread Farr, Aaron
> -Original Message- > From: Niclas Hedhman [mailto:[EMAIL PROTECTED] > > First principle, let Merlin manage the components. Few cases requires > 'manual' handling of component instances. So, the component needs to > be declared properly, and the clients needs to look it up via the > serv

Re: Getting Initializable called automatically..

2004-06-30 Thread Niclas Hedhman
Eric Pugh wrote: public void initialize() throws Exception { // initBundleNames(null); defaultLocale = new Locale(defaultLanguage, defaultCountry); Localization.setLocalizationService(this); This breaks Avalon principle of inversion of control, and managed component

Getting Initializable called automatically..

2004-06-30 Thread Eric Pugh
Hi.. In Fulcurm the class DefaultLocalizationService's initialize() method was automatically called by the unit test's resolve method: /** * Called the first time the Service is used. */ public void initialize() throws Exception { // initBundleNames(null); defa