On 7/29/07, Bernd Fondermann <[EMAIL PROTECTED]> wrote: > Hi, > > Two Avalon lifecycle method calls on components are configure() and > initialize(), in that order. > > AbstractJamesService.configureHelloName() is called from the configure() > method and utilizes DNSServer component. > But unfortunately, DNSServer is not through initialize() itself yet, > where critical fields get set, so it raises a NPE in lookup(). > > In Phoenix based James it does not seem to be a problem (which I do not > understand), but in Spring currently it is. > > configure() should only be used for reading configuration attributes, > not for doing anything more or even calling sibbling components. > > I will try now to split configureHelloName() into configureHelloName() + > initializeHelloName(). > > Does that sound reasonable?
sounds good to me - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
