Author: markt
Date: Sun Jul  5 12:38:17 2009
New Revision: 791235

URL: http://svn.apache.org/viewvc?rev=791235&view=rev
Log:
Remove deprecated methods that are no longer used

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=791235&r1=791234&r2=791235&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java Sun Jul  5 
12:38:17 2009
@@ -879,14 +879,6 @@
     // 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 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 );
-        }
-    }
-    
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to