Save This Page
Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.testbeans » [javadoc | source]
org.apache.jmeter.testbeans
public class: TestBeanBeanInfo [javadoc | source]
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:

  1. 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.]
  2. java.beans.Introspector is buggy and, opposite to what's stated in the Javadocs, only results of getBeanInfo(Class) are actually cached.
Method from org.apache.jmeter.testbeans.TestBeanBeanInfo Summary:
getAdditionalBeanInfo,   getBeanDescriptor,   getDefaultEventIndex,   getDefaultPropertyIndex,   getEventSetDescriptors,   getIcon,   getMethodDescriptors,   getPropertyDescriptors
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.testbeans.TestBeanBeanInfo Detail:
 public BeanInfo[] getAdditionalBeanInfo() 
 public BeanDescriptor getBeanDescriptor() 
 public int getDefaultEventIndex() 
 public int getDefaultPropertyIndex() 
 public EventSetDescriptor[] getEventSetDescriptors() 
 public Image getIcon(int iconKind) 
 public MethodDescriptor[] getMethodDescriptors() 
 public PropertyDescriptor[] getPropertyDescriptors()