[jboss-cvs] JBossAS SVN: r87439 - 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
Thu Apr 16 11:46:32 EDT 2009


Author: galder.zamarreno at jboss.com
Date: 2009-04-16 11:46:32 -0400 (Thu, 16 Apr 2009)
New Revision: 87439

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/HAServiceMBean.java
Log:
[JBAS-5703] Reverting added callMethodOnPartition that took ResponseFilter.

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-04-16 15:38:41 UTC (rev 87438)
+++ branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java	2009-04-16 15:46:32 UTC (rev 87439)
@@ -33,7 +33,6 @@
 import org.jboss.ha.framework.interfaces.DistributedState;
 import org.jboss.ha.framework.interfaces.HAPartition;
 import org.jboss.ha.framework.interfaces.HAService;
-import org.jboss.ha.framework.interfaces.ResponseFilter;
 import org.jboss.ha.framework.server.ClusterPartitionMBean;
 import org.jboss.ha.framework.server.EventFacility;
 import org.jboss.ha.framework.server.EventFactory;
@@ -44,7 +43,6 @@
  * 
  * @param S the class of the HAService delegate
  * @author Paul Ferraro
- * @author Galder Zamarreño
  */
 @SuppressWarnings("deprecation")
 public abstract class AbstractHAServiceMBeanSupport<S extends HAService<Notification>>
@@ -234,12 +232,6 @@
    {
       return this.getHAPartition().callMethodOnCluster(this.getHAServiceKey(), methodName, args, types, true);
    }
-   
-   @SuppressWarnings("unchecked")
-   public List callMethodOnPartition(String methodName, Object[] args, Class[] types, ResponseFilter filter) throws Exception
-   {
-      return this.getHAPartition().callMethodOnCluster(this.getHAServiceKey(), methodName, args, types, true, filter);
-   }
 
    @SuppressWarnings("unchecked")
    protected void callAsyncMethodOnPartition(String methodName, Object[] args, Class[] types) throws Exception

Modified: branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/HAServiceMBean.java
===================================================================
--- branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/HAServiceMBean.java	2009-04-16 15:38:41 UTC (rev 87438)
+++ branches/Branch_5_x/cluster/src/main/org/jboss/ha/jmx/HAServiceMBean.java	2009-04-16 15:46:32 UTC (rev 87439)
@@ -28,7 +28,6 @@
 import javax.management.NotificationBroadcaster;
 
 import org.jboss.ha.framework.interfaces.HAPartition;
-import org.jboss.ha.framework.interfaces.ResponseFilter;
 import org.jboss.ha.framework.server.ClusterPartitionMBean;
 
 /**
@@ -38,7 +37,6 @@
  * </p>
  *
  * @author <a href="mailto:ivelin at apache.org">Ivelin Ivanov</a>
- * @author Galder Zamarreño
  * @version $Revision$
  *
  */
@@ -83,22 +81,6 @@
     */
    @SuppressWarnings("unchecked")
    List callMethodOnPartition(String methodName, Object[] args, Class[] types) throws Exception;
-   
-   /**
-    * 
-    * Convenience method for broadcasting a call to all members of a partition with a given 
-    * response filter.
-    * 
-    * @param methodName
-    * @param args array of Java Object representing the set of parameters to be
-    * given to the remote method
-    * @param types The types of the parameters
-    * @param filter The response filter
-    * @return a list of responses from remote nodes
-    * @throws Exception
-    */
-   @SuppressWarnings("unchecked")
-   List callMethodOnPartition(String methodName, Object[] args, Class[] types, ResponseFilter filter) throws Exception;
 
    /**
     * 




More information about the jboss-cvs-commits mailing list