|
From: Rob H. <ro...@ca...> - 2004-11-17 15:26:06
|
All, What are your thoughts on the best way to pass constructor args to the ProxyFactoryBean to allow for proxying of classes with no arg constructors? Currently I see two ways: 1. Add setConstructorArgs(Object[], Class[]) to ProxyFactoryBean 2. Attempt to locate the <constructor-arg> definitions of the target bean, although I think this involves iterating over the bean definitions attempting to match to the target. Also when using anything but a SingletonTargetSource the match might not succeed. Rob |