managerMap.put(classLoader, object);
}
catch (InstantiationException e)
{
throw new WebBeansException("Unable to instantiate class : " + singletonName, e);
}
catch (IllegalAccessException e)
{
throw new WebBeansException("Illegal access exception in creating instance with class : " + singletonName, e);
}
}
}
return object;