tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1238078 - /tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/modeler/Registry.java
Date Mon, 30 Jan 2012 23:14:59 GMT
Author: markt
Date: Mon Jan 30 23:14:59 2012
New Revision: 1238078

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

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

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/modeler/Registry.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/modeler/Registry.java?rev=1238078&r1=1238077&r2=1238078&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/modeler/Registry.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/modeler/Registry.java Mon Jan 30 23:14:59
2012
@@ -581,17 +581,6 @@ public class Registry implements Registr
             managed=findManagedBean(type);
         }
         
-        if( bean instanceof DynamicMBean ) {
-            if( log.isDebugEnabled() ) {
-                log.debug( "Dynamic mbean support ");
-            }
-            // Dynamic mbean
-            loadDescriptors("MbeansDescriptorsDynamicMBeanSource",
-                    bean, type);
-
-            managed=findManagedBean(type);
-        }
-
         // Still not found - use introspection
         if( managed==null ) {
             if( log.isDebugEnabled() ) {
@@ -666,10 +655,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