Package org.apache.jmeter.testbeans
Class TestBeanBeanInfo
java.lang.Object
org.apache.jmeter.testbeans.TestBeanBeanInfo
- All Implemented Interfaces:
BeanInfo
This is the BeanInfo object for the TestBean class. It acts as a "stopper"
for the introspector: we don't want it to look at properties defined at this
or higher classes.
Note this is really needed since using Introspector.getBeanInfo with a stop class is not an option because:
- The API does not define a 3-parameter getBeanInfo in which you can use a stop class AND flags. [Why? I guess this is a bug in the spec.]
- java.beans.Introspector is buggy and, opposite to what's stated in the Javadocs, only results of getBeanInfo(Class) are actually cached.
-
Field Summary
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TestBeanBeanInfo
public TestBeanBeanInfo()
-
-
Method Details
-
getAdditionalBeanInfo
- Specified by:
getAdditionalBeanInfo
in interfaceBeanInfo
-
getBeanDescriptor
- Specified by:
getBeanDescriptor
in interfaceBeanInfo
-
getDefaultEventIndex
public int getDefaultEventIndex()- Specified by:
getDefaultEventIndex
in interfaceBeanInfo
-
getDefaultPropertyIndex
public int getDefaultPropertyIndex()- Specified by:
getDefaultPropertyIndex
in interfaceBeanInfo
-
getEventSetDescriptors
- Specified by:
getEventSetDescriptors
in interfaceBeanInfo
-
getIcon
-
getMethodDescriptors
- Specified by:
getMethodDescriptors
in interfaceBeanInfo
-
getPropertyDescriptors
- Specified by:
getPropertyDescriptors
in interfaceBeanInfo
-