On 8/23/07, Jason Fill <[EMAIL PROTECTED]> wrote: > I have been having the same issue. Below is the code that I have setup and > also I have autowiring turned on. I have looked in the > DefaultXmlBeanFactory and everything I have setup looks like it *should* > function correctly. It looks like it should add the factory by default in > the constructBean() method around line 549.
That happens around line 745 in the version of ColdSpring I have but it only attempts bean factory injection if you have no init() method! If you have an init() method, setBeanFactory() is never called. Another possible approach is to declare your bean as factory-post-processor="true" and add a method called postProcessBeanFactory() which takes a bean factory argument. I'll update my local ColdSpring and see what's changed but I'll bet the init() method issue is what's tripping both you and Derek up here... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood
