1 22 23 package org.jboss.test.ha.singleton; 24 25 import java.security.InvalidParameterException ; 26 import java.util.Stack ; 27 28 import javax.management.InstanceNotFoundException ; 29 import javax.management.MBeanException ; 30 import javax.management.ObjectName ; 31 import javax.management.ReflectionException ; 32 33 import org.jboss.ha.singleton.HASingletonController; 34 35 40 public class HASingletonControllerTester extends HASingletonController 41 { 42 43 public Stack __invokationStack__ = new Stack (); 44 45 protected Object invokeSingletonMBeanMethod(ObjectName name, 46 String operationName, Object param) 47 throws InstanceNotFoundException , MBeanException , ReflectionException 48 { 49 __invokationStack__.push("invokeMBeanMethod:" + name.getCanonicalName() + "." + operationName); 50 return null; 51 } 52 53 } 54 | Popular Tags |