Java Reflection in Action
Chapter download: "Call Stack Introspection"
(Note: If the sample chapter fails to open, try disabling your browser's popup blocker first.)
Call stack introspection allows a thread to examine its context. This context includes the name of the method that it is currently executing and the series of method calls that led to that method. This information is useful in logging, security, control flow, and more. In this chapter, you'll learn to examine the call stack, avoid infinite recursion during method intercession, and check class invariants.
Reprinted with permission. For more information, go to www.manning.com/forman.
Buy the book now!
Java Reflection in Action
by Ira R. Forman, Nate Forman
Manning Publications
ISBN: 1932394184
About the Author(s)
Dr. Ira Forman is a senior software engineer at IBM. He started working on reflection in the early 1990s when he developed IBM's SOM Metaclass Framework. Nate Forman works for Ticom Geomatics where he uses reflection in day-to-day problems. Ira and Nate are father and son. They live in Austin, Texas.
Back to top
Search the FTPOnline Book List
|