All,
I really want to get a fix in for this issue now. I have modified the
Cglib2AopProxy class to allow for the constructor args to be specified
now I just need to modify both ProxyFactory and ProxyFactoryBean.
I was thinking of adding a setConstructorArgs(Object[], Class[]) to both
classes along with a setConstructorArgResolver(ConstructorArgResolver)
method as well.
The first method is fairly self-explanatory, the second would use an
implementation of the ConstructorArgResolver interface (to be created)
to allow for runtime provision of constructor args.
What are your thoughts?
Rob
|