tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1238076 - /tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java
Date Mon, 30 Jan 2012 23:10:32 GMT
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


Mime
View raw message