Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv3084
Modified Files:
AbstractAutowireCapableObjectFactory.cs
Log Message:
SPRNET-900 - AbstractAutoWireCapableObjectFactory throws exceptions in primary control path, modify to avoid use of exceptions for flow control
Index: AbstractAutowireCapableObjectFactory.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Support/AbstractAutowireCapableObjectFactory.cs,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** AbstractAutowireCapableObjectFactory.cs 5 May 2008 21:30:47 -0000 1.88
--- AbstractAutowireCapableObjectFactory.cs 5 May 2008 22:42:17 -0000 1.89
***************
*** 1015,1018 ****
--- 1015,1019 ----
#else
MethodInfo[] factoryMethods = FindMethods(definition.FactoryMethodName, expectedArgCount, isStatic, factoryClass);
+ UnsatisfiedDependencyExceptionData unsatisfiedDependencyExceptionData = null;
// try all matching methods to see if they match the constructor arguments...
foreach(MethodInfo factoryMethod in factoryMethods)
|