[jboss-cvs] JBossAS SVN: r94896 - branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 14 18:09:21 EDT 2009


Author: bstansberry at jboss.com
Date: 2009-10-14 18:09:21 -0400 (Wed, 14 Oct 2009)
New Revision: 94896

Modified:
   branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java
Log:
Add a warning about use deprecated method

Modified: branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java
===================================================================
--- branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java	2009-10-14 21:16:08 UTC (rev 94895)
+++ branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java	2009-10-14 22:09:21 UTC (rev 94896)
@@ -82,6 +82,7 @@
 
    public void setClusterPartition(ClusterPartitionMBean clusterPartition)
    {
+      log.warn(HAServiceMBean.class.getName() + ".setClusterPartition(ClusterPartitionMBean) is deprecated; use setHAPartition(HAPartition)");
       if ((this.getState() != STARTED) && (this.getState() != STARTING))
       {
          this.service.setHAPartition(clusterPartition.getHAPartition());




More information about the jboss-cvs-commits mailing list