I was implementing a transaction aspect today and ran into a subtle
issue with ColdSpring (freshly updated from CVS this morning):

Line 611 in DefaultXmlBeanFactory uses a CFELSEIF for checking for
BeanFactoryAware instances, which has the effect of saying beans can
either have an init method or be BeanFactoryAware.  I'm pretty sure
this is NOT intended, and can be fixed by converting this:

 <cfelseif beanMetadataIncludesMethod(md, "setBeanFactory")>

to this:

 </cfif>
 <cfif beanMetadataIncludesMethod(md, "setBeanFactory")>

The specific case in question was setting up a ProxyFactoryBean.

cheers,
barneyb

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

Reply via email to