User: juhalindfors
Date: 02/02/28 12:09:21
Modified: src/main/test/compliance/server/support Test.java
TestMBean.java
Log:
Revision Changes Path
1.2 +31 -1 jmx/src/main/test/compliance/server/support/Test.java
Index: Test.java
===================================================================
RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/server/support/Test.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Test.java 24 Jan 2002 22:15:41 -0000 1.1
+++ Test.java 28 Feb 2002 20:09:21 -0000 1.2
@@ -13,7 +13,7 @@
* @see <related>
*
* @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>.
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
*/
public class Test
@@ -58,6 +58,36 @@
public void operationWithException() throws MyScreamingException
{
throw new MyScreamingException();
+ }
+
+ /**
+ * returns true
+ */
+ public boolean opWithPrimBooleanReturn()
+ {
+ return true;
+ }
+
+ /**
+ * Returns value 1234567890123
+ */
+ public long opWithPrimLongReturn()
+ {
+ return 1234567890123l;
+ }
+
+ /**
+ * Returns 0.1234567890123
+ */
+ public double opWithPrimDoubleReturn()
+ {
+ return 0.1234567890123d;
+ }
+
+ public void opWithLongSignature(int i1, int i2, int i3, int i4, int i5, int i6,
int i7, int i8, int i9, int i10,
+ int i11, int i12, int i13, int i14, int i15, int
i16, int i17, int i18, int i19, int i20)
+ {
+
}
}
1.2 +11 -1 jmx/src/main/test/compliance/server/support/TestMBean.java
Index: TestMBean.java
===================================================================
RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/server/support/TestMBean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestMBean.java 24 Jan 2002 22:15:41 -0000 1.1
+++ TestMBean.java 28 Feb 2002 20:09:21 -0000 1.2
@@ -13,7 +13,7 @@
* @see <related>
*
* @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>.
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
*/
public interface TestMBean
@@ -30,6 +30,16 @@
public void setAStringAttribute(String str);
public void operationWithException() throws MyScreamingException;
+
+ public boolean opWithPrimBooleanReturn();
+
+ public long opWithPrimLongReturn();
+
+ public double opWithPrimDoubleReturn();
+
+ public void opWithLongSignature(int i1, int i2, int i3, int i4, int i5, int i6,
int i7, int i8, int i9, int i10,
+ int i11, int i12, int i13, int i14, int i15, int
i16, int i17, int i18, int i19, int i20);
+
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development