[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-dev
Subject:    svn commit: r1238076 - /tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java
From:       markt () apache ! org
Date:       2012-01-30 23:10:32
Message-ID: 20120130231032.F3E7923888FE () eris ! apache ! org
[Download RAW message or body]

Author: markt
Date: Mon Jan 30 23:10:32 2012
New Revision: 1238076

URL: http://svn.apache.org/viewvc?rev=1238076&view=rev
Log:
Remove references to MbeansDescriptorsDynamicMBeanSource that was
removed in r415811

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java?rev=1238076&r1=1238075&r2=1238076&view=diff
 ==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java Mon Jan 30 \
23:10:32 2012 @@ -477,16 +477,6 @@ public class Registry implements Registr
             managed=findManagedBean(type);
         }
 
-        if( bean instanceof DynamicMBean ) {
-            if( log.isDebugEnabled() ) {
-                log.debug( "Dynamic mbean support ");
-            }
-            // Dynamic mbean
-            load("MbeansDescriptorsDynamicMBeanSource", bean, type);
-
-            managed=findManagedBean(type);
-        }
-
         // Still not found - use introspection
         if( managed==null ) {
             if( log.isDebugEnabled() ) {
@@ -560,10 +550,7 @@ public class Registry implements Registr
         String type=null;
         Object inputsource=null;
 
-        if( source instanceof DynamicMBean ) {
-            sourceType="MbeansDescriptorsDynamicMBeanSource";
-            inputsource=source;
-        } else if( source instanceof URL ) {
+        if( source instanceof URL ) {
             URL url=(URL)source;
             location=url.toString();
             type=param;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic