Tag : The BeanInfo Interface in JAVA BEANS

The BeanInfo Interface in JAVA BEANS
The BeanInfo Interface in JAVA BEANS

ABT examine a bean and expose its features (properties,methods and events) in a property sheet using java.beans.Introspector class. Introspection class uses JDK core reflection API to discover a bean methods and then applies the javabeans design patterns to discover the bean features. This discovery process is INTROSPECTION BeanInfo methods: PropertyDescriptor[] getPropertyDescriptors(); MethodDescriptor[] getMethodDescriptors(); EventSetDescriptor[] getEventsSetDescriptors(); BeanInfo classes contains DESCRIPTORS that…