}
//if the class is implementing the Collection interface
if (ReflectionUtils.implementsInterface(manageableObjectsClass, Collection.class))
{
return new ManageableCollectionImpl((Collection) ReflectionUtils.newInstance(manageableObjectsClass));
}
//if the class is implementing the Map interface
if (ReflectionUtils.implementsInterface(manageableObjectsClass, Map.class))
{