From 63478f28ff5aaec58b774c7ddb79550fb09952ef Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 9 Oct 2008 06:22:46 +0000 Subject: [PATCH] add aggregate Cpu mbeans --- .../org/hyperic/sigar/jmx/SigarRegistry.java | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java b/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java index b4334f5f..923cbc31 100644 --- a/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java +++ b/bindings/java/src/org/hyperic/sigar/jmx/SigarRegistry.java @@ -215,6 +215,7 @@ public class SigarRegistry extends AbstractMBean { * @see AbstractMBean#postRegister(Boolean) */ public void postRegister(Boolean success) { + ReflectedMBean mbean; super.postRegister(success); @@ -231,8 +232,8 @@ public class SigarRegistry extends AbstractMBean { for (int i=0; i