Introspection

You learn about a bean through introspection. Introspection is the process of analyzing a bean to expose its properties, public methods, and the events that it can produce. You don't carry out the analysis yourself. Typically, your visual bean-testing tool or your application builder carries out introspection. In fact, you don't need to worry about the gritty details of how introspection is carried out unless you're writing a program similar to the BeanBox, or you're writing a rapid application development (RAD) program. Except for these special cases, introspection is carried out automatically as long as you design your beans'properties, events, and methods in the way outlined earlier in this chapter.

Introspection can be carried ...

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.