O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required