Author: mircea.markus
Date: 2009-07-03 06:18:00 -0400 (Fri, 03 Jul 2009)
New Revision: 8127
Modified:
core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java
core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapperMBean.java
Log:
made this class not deprecated, and commented it usage
Modified: core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java 2009-07-01 11:37:29
UTC (rev 8126)
+++ core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapper.java 2009-07-03 10:18:00
UTC (rev 8127)
@@ -60,9 +60,9 @@
* @author <a href="brian.stansberry(a)jboss.com">Brian
Stansberry</a>
* @author <a href="mailto:galder.zamarreno@jboss.com">Galder
Zamarreno</a>
* @version $Revision$
- * @deprecated use {@link org.jboss.cache.jmx.JmxRegistrationManager}. This class will
not be supported from 3.0 on.
+ * For all purposes use {@link org.jboss.cache.jmx.JmxRegistrationManager}. Use this
class only when you want to obtain
+ * a reference to a Cache object through JMX.
*/
-@Deprecated
public class CacheJmxWrapper<K, V>
extends NotificationBroadcasterSupport
implements CacheJmxWrapperMBean<K, V>, MBeanRegistration,
CacheNotificationBroadcaster
Modified: core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapperMBean.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapperMBean.java 2009-07-01
11:37:29 UTC (rev 8126)
+++ core/trunk/src/main/java/org/jboss/cache/jmx/CacheJmxWrapperMBean.java 2009-07-03
10:18:00 UTC (rev 8127)
@@ -40,9 +40,9 @@
* <li> Cache information methods (numNodes, numAttributes, lockInfo, printDetails)
which print as Strings or as formatted HTML (for web based JMX consoles)</li>
*
* @since 2.0.0
- * @deprecated use {@link org.jboss.cache.jmx.JmxRegistrationManager}
+ * For all purposes use {@link org.jboss.cache.jmx.JmxRegistrationManager}. Use this
class only when you want to obtain
+ * a reference to a Cache object through JMX.
*/
-@Deprecated
public interface CacheJmxWrapperMBean<K, V> extends LegacyConfiguration
{
/**
Show replies by date