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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to