src/main/java/org/jboss/util/propertyeditor/PropertyEditors.java
public static void mapJavaBeanProperties(Object bean, Properties beanProps)
      throws IntrospectionException
   {
      mapJavaBeanProperties(bean, beanProps, true);
   }
public static void mapJavaBeanProperties(Object bean, Properties beanProps)
      throws IntrospectionException
   {
      mapJavaBeanProperties(bean, beanProps, true);
   }
This method takes the properties found in the given beanProps
to the bean using the property editor registered for the property.
Any property in beanProps that does not have an associated java bean
property will result in an IntrospectionException. The string property
values are converted to the true java bean property type using the
java bean PropertyEditor framework. If a property in beanProps does not
have a PropertyEditor registered it will be ignored.

@param bean - the java bean instance to apply the properties to
@param beanProps - map of java bean property name to property value.
@throws IntrospectionException thrown on introspection of bean and if
a property in beanProps does not map to a property of bean.