public MetaValue getValue(BeanInfo beanInfo, ManagedProperty property, AbstractBeanMetaData attachment)
{
String name = property.getName();
PropertyMetaData pmd = getExactPropertyMetaData(attachment, name);
PropertyInfo propertyInfo = beanInfo.getProperty(name);
ValueMetaData valueMetaData = pmd.getValue();
try
{
Object value = valueMetaData.getValue(propertyInfo.getType(), getClassLoader(attachment));
return metaValueFactory.create(value, propertyInfo.getType());
}
catch (Throwable t)
{
throw new UndeclaredThrowableException(t);
}