[jboss-cvs] JBossAS SVN: r86418 - branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 27 09:49:52 EDT 2009
Author: emuckenhuber
Date: 2009-03-27 09:49:52 -0400 (Fri, 27 Mar 2009)
New Revision: 86418
Modified:
branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
Log:
remove unused method
Modified: branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
===================================================================
--- branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java 2009-03-27 12:45:40 UTC (rev 86417)
+++ branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java 2009-03-27 13:49:52 UTC (rev 86418)
@@ -1391,43 +1391,6 @@
return opProxies;
}
- /**
- * Take the root managed object and the associated deployment unit
- * managed object map, and look to the root MO for a collection type
- * managed property named rootProperty to which the template property
- * map.
- *
- * @param rootMO
- * @param rootProperty
- * @param managedObjects
- */
- private void flattenRootObject(ManagedObject rootMO, String rootProperty,
- Map<String,ManagedObject> managedObjects)
- {
- ManagedProperty deployments = rootMO.getProperty(rootProperty);
- MetaType propType = deployments.getMetaType();
- if (propType.isCollection())
- {
- CollectionMetaType amt = (CollectionMetaType) propType;
- MetaType etype = amt.getElementType();
- if (etype == AbstractManagedObjectFactory.MANAGED_OBJECT_META_TYPE)
- {
- CollectionValue avalue = (CollectionValue) deployments.getValue();
- if(avalue != null)
- {
- MetaValue[] elements = avalue.getElements();
- for(int n = 0; n < avalue.getSize(); n ++)
- {
- GenericValue gv = (GenericValue) elements[n];
- ManagedObject propMO = (ManagedObject) gv.getValue();
- if(propMO != null)
- managedObjects.put(propMO.getName(), propMO);
- }
- }
- }
- }
- }
-
public class ManagedOperationDelegate implements ManagedOperation
{
private static final long serialVersionUID = -775240509110032859L;
More information about the jboss-cvs-commits
mailing list