@Override
	public Object getProperty(String name) {
		if (Arrays.asList(getPropertyNames()).contains(name)) {
			return beanWrapper.getPropertyValue(name);
		}
		else {
			return null;
		}
	}
A {@link PropertySource} that exposes the javabeans properties of an object as properties.

@author Eric Bottard
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/options/BeanPropertiesPropertySource.java