Chapter 24. Introspection

In This Chapter

JavaBeans introspection is when a bean reflects on its own internal state or the internal state of other beans. The analogy with your own kind of introspection, when you examine your own internal state or feelings, is clearly made by the designers of JavaBeans introspection. The classes and methods that make introspection on a bean possible are implemented in the Reflection Application Programming Interface (Reflection API).

Beans presumably don't have emotions, but they can reflect on their internal states; the constructors, methods, and data fields (variables) that they implement, how they are implemented, and what, if anything is currently assigned to them. Introspection ...

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.