1 7 8 package test.compliance.metadata.support; 9 10 public class Trivial implements TrivialMBean 11 { 12 private String something = null; 13 private boolean anAttribute = true; 14 15 public void setSomething(String thing) 16 { 17 this.something = thing; 18 } 19 20 public String getSomething() 21 { 22 return something; 23 } 24 25 public void setSomethingInvalid(String thing) 26 { 27 this.something = thing; 28 } 29 30 public String getSomethingInvalid(Object invalid) 31 { 32 return something; 33 } 34 35 public void setSomethingInvalid2(String thing) 36 { 37 this.something = thing; 38 } 39 40 public void getSomethingInvalid2() 41 { 42 } 44 45 public void doOperation(String arg) 46 { 47 } 48 } 49 | Popular Tags |