Results 1 to 2 of 2

Thread: How to dynamiclly invoke not setter mothod?

  1. #1
    Join Date
    Nov 2005
    Posts
    4

    Default How to dynamiclly invoke not setter mothod?

    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.

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •