KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > standard > support > TortureMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.standard.support;
9
10 /**
11  * @author <a HREF="mailto:trevor@protocool.com">Trevor Squires</a>.
12  */

13
14 public interface TortureMBean
15 {
16    String getNiceString();
17    void setNiceString(String nice);
18
19    boolean isNiceBoolean();
20    void setNiceBoolean(boolean nice);
21
22    void setInt(int foo);
23    void setIntArray(int[] foo);
24    void setNestedIntArray(int[][][] foo);
25
26    void setInteger(Integer foo);
27    void setIntegerArray(Integer[] foo);
28    void setNestedIntegerArray(Integer[][][] foo);
29
30    int getMyinteger();
31    int[] getMyintegerArray();
32    int[][][] getMyNestedintegerArray();
33
34    Integer getMyInteger();
35    Integer[] getMyIntegerArray();
36    Integer[][][] getMyNestedIntegerArray();
37
38    // these should give an isIs right?
39
boolean isready();
40    Boolean isReady();
41
42    // these should be operations
43
boolean ispeachy(int peachy);
44    Boolean isPeachy(int peachy);
45    String issuer();
46    int settlement(String thing);
47    void setMulti(String foo, Integer bar);
48    String getResult(String source);
49    void setNothing();
50    void getNothing();
51
52    // ok, we have an attribute called Something
53
// and an operation called getSomething...
54
void setSomething(String something);
55    void getSomething();
56
57    // ooh yesssss
58
String[][] doSomethingCrazy(Object[] args, String[] foo, int[][][] goMental);
59 }
60
Popular Tags