From f2190cf50a049aaa3d19a4b7b1d3ef9612570df4 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 5 Jul 2009 12:38:17 +0000 Subject: [PATCH] Remove deprecated methods that are no longer used git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@791235 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/tomcat/util/modeler/Registry.java | 34 ----------------------- 1 file changed, 34 deletions(-) diff --git a/java/org/apache/tomcat/util/modeler/Registry.java b/java/org/apache/tomcat/util/modeler/Registry.java index 584640d71..13d02ac1f 100644 --- a/java/org/apache/tomcat/util/modeler/Registry.java +++ b/java/org/apache/tomcat/util/modeler/Registry.java @@ -879,14 +879,6 @@ public class Registry implements RegistryMBean, MBeanRegistration { // May still be used in tomcat // Never part of an official release - /** Called by a registry or by the container to unload a loader - * @param loader - */ - public void unregisterRegistry(ClassLoader loader ) { - // XXX Cleanup ? - perLoaderRegistries.remove(loader); - } - public ManagedBean findManagedBean(Class beanClass, String type) throws Exception { @@ -906,31 +898,5 @@ public class Registry implements RegistryMBean, MBeanRegistration { public void resetMetadata() { stop(); } - /** - * Load the registry from the XML input found in the specified input - * stream. - * - * @param source Source to be used to load. Can be an InputStream or URL. - * - * @exception Exception if any parsing or processing error occurs - */ - public void loadDescriptors( Object source ) - throws Exception - { - loadDescriptors("MbeansDescriptorsDigesterSource", source, null ); - } - - - // should be removed - public void unregisterComponent( String domain, String name ) { - try { - ObjectName oname=new ObjectName( domain + ":" + name ); - // XXX remove from our tables. - getMBeanServer().unregisterMBean( oname ); - } catch( Throwable t ) { - log.error( "Error unregistering mbean ", t ); - } - } - } -- 2.11.0