[jboss-cvs] JBossAS SVN: r95515 - trunk/testsuite/src/main/org/jboss/test/cluster/haservice.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 23 13:21:52 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-23 13:21:52 -0400 (Fri, 23 Oct 2009)
New Revision: 95515
Modified:
trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAService.java
trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAServiceMBean.java
trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHASingleton.java
Log:
[JBAS-6797] For test subclass, expose callMethodOnPartition in public API, MBean interface
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAService.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAService.java 2009-10-23 16:16:22 UTC (rev 95514)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAService.java 2009-10-23 17:21:52 UTC (rev 95515)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.cluster.haservice;
+import java.util.List;
+
import org.jboss.ha.jmx.HAServiceMBeanSupport;
/**
@@ -37,4 +39,11 @@
{
return echo;
}
+
+ // Expose as public
+ @Override
+ public List callMethodOnPartition(String methodName, Object[] args, Class[] types) throws Exception
+ {
+ return super.callMethodOnPartition(methodName, args, types);
+ }
}
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAServiceMBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAServiceMBean.java 2009-10-23 16:16:22 UTC (rev 95514)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHAServiceMBean.java 2009-10-23 17:21:52 UTC (rev 95515)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.cluster.haservice;
+import java.util.List;
+
import org.jboss.ha.jmx.HAServiceMBean;
/**
@@ -31,4 +33,6 @@
public interface EchoHAServiceMBean extends HAServiceMBean
{
boolean echo(boolean echo);
+
+ List callMethodOnPartition(String methodName, Object[] args, Class[] types) throws Exception;
}
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHASingleton.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHASingleton.java 2009-10-23 16:16:22 UTC (rev 95514)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/haservice/EchoHASingleton.java 2009-10-23 17:21:52 UTC (rev 95515)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.cluster.haservice;
+import java.util.List;
+
import org.jboss.ha.singleton.HASingletonSupport;
/**
@@ -37,4 +39,11 @@
{
return echo;
}
+
+ // Expose as public
+ @Override
+ public List callMethodOnPartition(String methodName, Object[] args, Class[] types) throws Exception
+ {
+ return super.callMethodOnPartition(methodName, args, types);
+ }
}
More information about the jboss-cvs-commits
mailing list