tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1240101 - /tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java
Date Fri, 03 Feb 2012 12:05:49 GMT
Author: markt
Date: Fri Feb  3 12:05:48 2012
New Revision: 1240101

URL: http://svn.apache.org/viewvc?rev=1240101&view=rev
Log:
Deprecate unused code

Modified:
    tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java

Modified: tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java?rev=1240101&r1=1240100&r2=1240101&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java Fri Feb  3 12:05:48 2012
@@ -259,7 +259,10 @@ public class MBeanUtils {
      * @param loader The Loader to be managed
      *
      * @exception Exception if an MBean cannot be created or registered
+     *
+     * @deprecated Unused. Will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     static DynamicMBean createMBean(Loader loader)
         throws Exception {
 
@@ -291,7 +294,10 @@ public class MBeanUtils {
      * @param factory The MBeanFactory to be managed
      *
      * @exception Exception if an MBean cannot be created or registered
+     *
+     * @deprecated Unused. Will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     static DynamicMBean createMBean(MBeanFactory factory)
         throws Exception {
 
@@ -322,7 +328,10 @@ public class MBeanUtils {
      * @param resource The NamingResources to be managed
      *
      * @exception Exception if an MBean cannot be created or registered
+     *
+     * @deprecated Unused. Will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     static DynamicMBean createMBean(NamingResources resource)
         throws Exception {
 



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


Mime
View raw message