cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r790640 - /cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
Date Thu, 02 Jul 2009 16:19:28 GMT
Author: dkulp
Date: Thu Jul  2 16:19:27 2009
New Revision: 790640

URL: http://svn.apache.org/viewvc?rev=790640&view=rev
Log:
Remove an instance field that wasn't needed.

Modified:
    cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java

Modified: cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java?rev=790640&r1=790639&r2=790640&view=diff
==============================================================================
--- cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
(original)
+++ cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
Thu Jul  2 16:19:27 2009
@@ -64,7 +64,6 @@
     private MBServerConnectorFactory mcf;    
     private MBeanServer mbs;
     private Set<ObjectName> busMBeans = new HashSet<ObjectName>();
-    private ModelMBeanAssembler assembler;
     private boolean connectFailed;
     /**
      * For backward compatibility, {@link #createMBServerConnectorFactory} is <code>true</code>
by default.
@@ -75,7 +74,6 @@
     
     public InstrumentationManagerImpl() {
         super();
-        assembler = new ModelMBeanAssembler();
     }
     
     public Bus getBus() {
@@ -169,7 +167,7 @@
             registerMBeanWithServer(obj, name, forceRegistration);           
         } catch (NotCompliantMBeanException e) {        
             //If this is not a "normal" MBean, then try to deploy it using JMX annotations
-            assembler = new ModelMBeanAssembler();
+            ModelMBeanAssembler assembler = new ModelMBeanAssembler();
             ModelMBeanInfo mbi = assembler.getModelMbeanInfo(obj.getClass());
             register(obj, name, mbi, forceRegistration);
         }                



Mime
View raw message