[SPRNET-1505] Support using Proxyied Objects as Factory Objects Created: 25/Apr/12 Updated: 10/May/12 Resolved: 10/May/12
|Fix Version/s:||2.0 M1|
|Reporter:||Steve Bohlen||Assignee:||Steve Bohlen|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Spring/Spring.Core/Objects/Factory/Support/ConstructorResolver.InstantiateUsingFactoryMethod(...) does not presently take into consideration the possibility that the FactoryObject might be proxied when attempting to resolve the FactoryMethod. We need to a) tests for the presence of the proxy and then b) attempt to cast the FactoryObject into each of the proxy interfaces when we attempt to resolve the specificed FactoryMethod.
|Comment by Steve Bohlen [ 10/May/12 ]|
After further detailed review of the underlying cause of the issue in the forum post, the explanation in this ticket is incorrect/not-an-issue.