01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * published by the Free Software Foundation; either version 2.1 of
10: * the License, or (at your option) any later version.
11: *
12: * This software is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this software; if not, write to the Free
19: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21: */
22: package test.compliance.server.support;
23:
24: /**
25: * <description>
26: *
27: * @see <related>
28: *
29: * @author <a href="mailto:juha@jboss.org">Juha Lindfors</a>.
30: * @version $Revision: 57200 $
31: *
32: */
33: public interface TestMBean {
34: public String getThisWillScream() throws MyScreamingException;
35:
36: public void setThisWillScream(String str)
37: throws MyScreamingException;
38:
39: public String getThrowUncheckedException();
40:
41: public void setThrowUncheckedException(String str);
42:
43: public String getError();
44:
45: public void setError(String str);
46:
47: public void setAStringAttribute(String str);
48:
49: public void operationWithException() throws MyScreamingException;
50:
51: public boolean opWithPrimBooleanReturn();
52:
53: public long opWithPrimLongReturn();
54:
55: public long[] opWithPrimLongArrayReturn();
56:
57: public Long[] opWithLongArrayReturn();
58:
59: public double opWithPrimDoubleReturn();
60:
61: public void opWithLongSignature(int i1, int i2, int i3, int i4,
62: int i5, int i6, int i7, int i8, int i9, int i10, int i11,
63: int i12, int i13, int i14, int i15, int i16, int i17,
64: int i18, int i19, int i20);
65:
66: public void opWithMixedSignature(int i1, double i2, long i3,
67: boolean i4, byte i5, short i6, long[] i7, Long[] i8,
68: Short i9, Byte i10, Long i11, Double i12, int i13, int i14,
69: int i15, int i16, int i17, int i18, int i19, int i20);
70:
71: public void counterWithException();
72:
73: public int getCounter();
74: }
|