KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > server > support > TestMBean


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.server.support;
9
10 /**
11  * <description>
12  *
13  * @see <related>
14  *
15  * @author <a HREF="mailto:juha@jboss.org">Juha Lindfors</a>.
16  * @version $Revision: 1.7 $
17  *
18  */

19 public interface TestMBean
20 {
21    public String getThisWillScream() throws MyScreamingException;
22    public void setThisWillScream(String str) throws MyScreamingException;
23    
24    public String getThrowUncheckedException();
25    public void setThrowUncheckedException(String str);
26    
27    public String getError();
28    public void setError(String str);
29    
30    public void setAStringAttribute(String str);
31    
32    public void operationWithException() throws MyScreamingException;
33    
34    public boolean opWithPrimBooleanReturn();
35    
36    public long opWithPrimLongReturn();
37    
38    public long[] opWithPrimLongArrayReturn();
39    
40    public Long[] opWithLongArrayReturn();
41    
42    public double opWithPrimDoubleReturn();
43    
44    public void opWithLongSignature(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10,
45                                    int i11, int i12, int i13, int i14, int i15, int i16, int i17, int i18, int i19, int i20);
46
47    public void opWithMixedSignature(int i1, double i2, long i3, boolean i4, byte i5,
48                                     short i6, long[] i7, Long[] i8, Short i9, Byte i10,
49                                     Long i11, Double i12, int i13, int i14, int i15,
50                                     int i16, int i17, int i18, int i19, int i20);
51                                    
52    public void counterWithException();
53
54    public int getCounter();
55 }
56       
57
58
59
60
Popular Tags