private ExoModelMBean createExoMBean(Object bean)
{
Object view = null;
// Apply managed by annotation
ManagedBy managedBy = bean.getClass().getAnnotation(ManagedBy.class);
if (managedBy != null)
{
try
{
Class managedByClass = managedBy.value();
Constructor<?> blah = managedByClass.getConstructor(bean.getClass());
view = blah.newInstance(bean);
}
catch (NoSuchMethodException e)
{