Re: Why we use Introspection in Java Beans?
The Introspector class provides a standard way for tools to learn about the properties, events, and methods supported by a target Java Bean. The BeanInfo interface of the java.beans package defines a set of methods that allow bean implementors to provide explicit information about their beans. Using this is very useful for the developer. Because by specifying BeanInfo for a bean component, a developer can hide methods, specify an icon for the toolbox, provide descriptive names for properties, define which properties are bound properties, etc. Due to which the user cannot see the coding that are used by the developer.
IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....
Bookmarks