Caught Exceptions during Init()

0 views
Skip to first unread message

Tony Nelson

unread,
Sep 28, 2009, 6:17:31 PM9/28/09
to ColdSpring-Users
When loading ColdSpring, I'm getting quite a few exceptions being
caught inside BeanDefinition.getDependencies() that look like:
"property requested (xxx) does not exist for bean: xxxService". These
appear to be related to autowiring, which I have that set to "no".

While the exceptions aren't really hurting any functionality, couldn't
they be avoided altogether by adding a check to see if autowiring is
enabled for the bean? This could also speed up performance by
eliminating some unnecessary processing of metadata.

I've (crudely) tested this by wrapping lines 384-500 with <cfif
listFind("byName,byType",getAutoWire())> and everything seems to work
properly. Am I overlooking something?

Reply all
Reply to author
Forward
0 new messages