{
Object original = this.unwrapValue(beanInfo, property, value);
try
{
Class<? extends RuntimeComponentNameTransformer> tClass = componentRef.transformer();
RuntimeComponentNameTransformer transformer;
if (tClass != ManagementRuntimeRef.DEFAULT_NAME_TRANSFORMER.class)
transformer = getComponentNameTransformer(configuration.getTypeInfo(tClass));
else
transformer = getComponentNameTransformer(propertyInfo.getType());
return (transformer != null) ? transformer.transform(original) : original;
}
catch (Throwable t)
{
throw new UndeclaredThrowableException(t);
}