|
From: Peter d. H. <pe...@de...> - 2004-01-07 23:13:30
|
Colin Sampaleanu wrote: > The fact that DefaultListableBeanFactory has some of the support code is > somewhat irrelevant. The contract is [...] My apologies, I wasn't at all clear. Although I listed changing way the BeanFactory works as the first possibility, I don't think that's by any means the best option. Changing the contract might break existing software and would not be a good idea at this stage even if it were desirable as such. The basic need is for the postprocessors in the BeanFactory to be initialised; either by modifying XmlBeanFactoryLoader to perform this initialisation, or through replacing the BeanFactory with a full ApplicationContext as you suggest. That would be an even better solution but slightly more of a change. I'd be happy with either :) Thanks - Peter |