| Author |
Use of reflection API
|
Vijay Tidake
Ranch Hand
Joined: Nov 04, 2008
Posts: 146
|
|
Hi,
Currently I am reading about the Reflection API in java.So I have one query regarding the use of Reflection APIs.
I read that reflection is meant for the "introspection" of a java beans.Is this the only use of Reflection?
If not,will you please enlist some of the practical use of the java Reflection API,other than getting the info about the class ie method,constructors etc.
Thanks
|
The important thing is not to stop questioning.Curiosity has its own reason for existing.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
|
Calling a method dynamically. This is useful in tooling, when you don't know the method signature at compile time.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Use of reflection API
|
|
|