1 22 package test.performance.standard.support; 23 24 import javax.management.Attribute ; 25 26 31 public class StandardMBeanExtension 32 extends javax.management.StandardMBean 33 implements StandardMBean 34 { 35 public StandardMBeanExtension() 36 throws Exception 37 { 38 super(StandardMBean.class); 39 } 40 41 private int counter = 0; 42 43 44 public void bogus1() {} 45 public void bogus2() {} 46 public void bogus3() {} 47 public void bogus4() {} 48 public void bogus5() {} 49 50 51 public void methodInvocation() {} 52 53 public void counter() { 54 } 56 57 public int getCount() { 58 return counter; 59 } 60 61 Integer int1; 62 int int2; 63 Object [][][] space; 64 Attribute attr; 65 66 public void mixedArguments(Integer int1, int int2, Object [][][] space, Attribute attr) { 67 ++counter; 68 69 this.int1 = int1; 70 this.int2 = int2; 71 this.space = space; 72 this.attr = attr; 73 } 74 75 public void bogus6() {} 76 public void bogus7() {} 77 public void bogus8() {} 78 public void bogus9() {} 79 public void bogus10() {} 80 81 } 82 | Popular Tags |