[jboss-cvs] JBossAS SVN: r86926 - 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
Tue Apr 7 10:07:00 EDT 2009
Author: emuckenhuber
Date: 2009-04-07 10:07:00 -0400 (Tue, 07 Apr 2009)
New Revision: 86926
Modified:
branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
Log:
remove duplicate processing of managed operations for bootstrap deployments.
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-04-07 13:37:56 UTC (rev 86925)
+++ branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java 2009-04-07 14:07:00 UTC (rev 86926)
@@ -231,31 +231,7 @@
try
{
//
- Map<String, ManagedComponent> comps = md.getComponents();
- if(comps != null)
- {
- for(ManagedComponent comp : comps.values())
- {
- Map<String, Annotation> annotations = comp.getAnnotations();
- if(annotations != null)
- {
- ManagementObject managementObject = (ManagementObject) annotations.get(ManagementObject.class.getName());
- if(managementObject != null && managementObject.isRuntime())
- {
- if(comp instanceof MutableManagedComponent)
- {
- Set<ManagedOperation> ops = comp.getOperations();
- Object componentName = comp.getComponentName();
- ops = createOperationProxies(ops, componentName);
- MutableManagedComponent mmc = MutableManagedComponent.class.cast(comp);
- mmc.setOperations(ops);
- }
- }
- }
- }
- }
- processManagedDeployment(md, null, 0, trace);
- //
+ processManagedDeployment(md, null, 0, trace);
}
catch(Exception e)
{
More information about the jboss-cvs-commits
mailing list