How are get and set methods on javabeans called by frameworks?
- by testymctesttesttest
If you have a bean with a getFoo method, how does whatever framework you're using know how to call the getFoo method when you ask for the value of foo? Is this done using the reflection API? Or is it somehow done using annotations? Obviously I know how you can derive the method given the name of the property, I just don't know how the method is invoked.