List<ComponentProperty> props = component.getProperties();
for ( ComponentProperty prop : props ) {
if ( prop.getName().equals(name) ) {
// On finding the property, create a factory for it and create a Bean using
// the factory
ObjectFactory factory = propertyFactory.createValueFactory( prop,
prop.getValue(),
requiredType );
propertyObject = (B)factory.getInstance();
} // end if
} // end for
return propertyObject;
}