if (log.isDebugEnabled()) log.debug("Preparing "+this.getClass());
for (PropertyIterator jprops= propertyIterator(); jprops.hasNext(); )
{
// Obtain a value of the appropriate type for this property.
JMeterProperty jprop= jprops.next();
PropertyDescriptor descriptor= (PropertyDescriptor)descriptors.get(jprop.getName());
if (descriptor == null)
{
if (log.isDebugEnabled())
{
log.debug("Ignoring auxiliary property "+jprop.getName());
}
continue;
}
Class type= descriptor.getPropertyType();
Object value= unwrapProperty(jprop, type);
if (log.isDebugEnabled()) log.debug("Setting "+jprop.getName()+"="+value);
// Set the bean's property to the value we just obtained:
if (value != null || !type.isPrimitive())
// We can't assign null to primitive types.
{