org.apache.jmeter.testelement
Class AbstractTestElementBeanInfo
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElementBeanInfo
- All Implemented Interfaces:
- BeanInfo
- Direct Known Subclasses:
- HTTPSamplerBaseBeanInfo
- public class AbstractTestElementBeanInfo
- extends Object
- 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.
- Version:
- $Revision: 674365 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTestElementBeanInfo
public AbstractTestElementBeanInfo()
getAdditionalBeanInfo
public BeanInfo[] getAdditionalBeanInfo()
- Specified by:
getAdditionalBeanInfo
in interface BeanInfo
getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
- Specified by:
getBeanDescriptor
in interface BeanInfo
getDefaultEventIndex
public int getDefaultEventIndex()
- Specified by:
getDefaultEventIndex
in interface BeanInfo
getDefaultPropertyIndex
public int getDefaultPropertyIndex()
- Specified by:
getDefaultPropertyIndex
in interface BeanInfo
getEventSetDescriptors
public EventSetDescriptor[] getEventSetDescriptors()
- Specified by:
getEventSetDescriptors
in interface BeanInfo
getIcon
public Image getIcon(int iconKind)
- Specified by:
getIcon
in interface BeanInfo
getMethodDescriptors
public MethodDescriptor[] getMethodDescriptors()
- Specified by:
getMethodDescriptors
in interface BeanInfo
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in interface BeanInfo
Copyright © 1998-2009 Apache Software Foundation. All Rights Reserved.