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