Package org.apache.jmeter.testbeans
Class TestBeanBeanInfo
-
- All Implemented Interfaces:
-
java.beans.BeanInfo
public class TestBeanBeanInfo implements 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 Modifier and Type Field Description public final static int
ICON_COLOR_16x16
public final static int
ICON_COLOR_32x32
public final static int
ICON_MONO_16x16
public final static int
ICON_MONO_32x32
-
Constructor Summary
Constructors Constructor Description TestBeanBeanInfo()
-
Method Summary
Modifier and Type Method Description Array<BeanInfo>
getAdditionalBeanInfo()
BeanDescriptor
getBeanDescriptor()
int
getDefaultEventIndex()
int
getDefaultPropertyIndex()
Array<EventSetDescriptor>
getEventSetDescriptors()
Image
getIcon(intĀ iconKind)
Array<MethodDescriptor>
getMethodDescriptors()
Array<PropertyDescriptor>
getPropertyDescriptors()
-
-
Method Detail
-
getAdditionalBeanInfo
Array<BeanInfo> getAdditionalBeanInfo()
-
getBeanDescriptor
BeanDescriptor getBeanDescriptor()
-
getDefaultEventIndex
int getDefaultEventIndex()
-
getDefaultPropertyIndex
int getDefaultPropertyIndex()
-
getEventSetDescriptors
Array<EventSetDescriptor> getEventSetDescriptors()
-
getMethodDescriptors
Array<MethodDescriptor> getMethodDescriptors()
-
getPropertyDescriptors
Array<PropertyDescriptor> getPropertyDescriptors()
-
-
-
-