Hi,all:
I know we can invoke bean's setter method dynamiclly by giving string name using BeanWrapper,but how to invoke bean's other method that are not setter method?I don't find approper method ,can we do that in Spring?
Thanks,
Karl.
Hi,all:
I know we can invoke bean's setter method dynamiclly by giving string name using BeanWrapper,but how to invoke bean's other method that are not setter method?I don't find approper method ,can we do that in Spring?
Thanks,
Karl.
Spring is based on JavaBean conventions and BeanWrapper follows this pattern. If you want to retrieve values you can use the factory capability of the application context.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags