org.jboss.test.jmx.compliance.server.support
Class Test

java.lang.Object
  extended byorg.jboss.test.jmx.compliance.server.support.Test
All Implemented Interfaces:
TestMBean

public class Test
extends Object
implements TestMBean

Version:
$Revision: 1.1 $
Author:
Juha Lindfors.
See Also:

Constructor Summary
Test()
           
 
Method Summary
 void counterWithException()
           
 int getCounter()
           
 String getError()
           
 String getThisWillScream()
           
 String getThrowUncheckedException()
           
 void operationWithException()
           
 Long[] opWithLongArrayReturn()
          Returns array [1, 2, 3]
 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)
           
 void opWithMixedSignature(int i1, double i2, long i3, boolean i4, byte i5, short i6, long[] i7, Long[] i8, Short i9, Byte i10, Long i11, Double i12, int i13, int i14, int i15, int i16, int i17, int i18, int i19, int i20)
           
 boolean opWithPrimBooleanReturn()
          returns true
 double opWithPrimDoubleReturn()
          Returns 0.1234567890123
 long[] opWithPrimLongArrayReturn()
          Returns array [1,2,3]
 long opWithPrimLongReturn()
          Returns value 1234567890123
 void setAStringAttribute(String str)
           
 void setError(String str)
           
 void setThisWillScream(String str)
           
 void setThrowUncheckedException(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Method Detail

getThisWillScream

public String getThisWillScream()
                         throws MyScreamingException
Specified by:
getThisWillScream in interface TestMBean
Throws:
MyScreamingException

setThisWillScream

public void setThisWillScream(String str)
                       throws MyScreamingException
Specified by:
setThisWillScream in interface TestMBean
Throws:
MyScreamingException

getThrowUncheckedException

public String getThrowUncheckedException()
Specified by:
getThrowUncheckedException in interface TestMBean

setThrowUncheckedException

public void setThrowUncheckedException(String str)
Specified by:
setThrowUncheckedException in interface TestMBean

getError

public String getError()
Specified by:
getError in interface TestMBean

setError

public void setError(String str)
Specified by:
setError in interface TestMBean

setAStringAttribute

public void setAStringAttribute(String str)
Specified by:
setAStringAttribute in interface TestMBean

operationWithException

public void operationWithException()
                            throws MyScreamingException
Specified by:
operationWithException in interface TestMBean
Throws:
MyScreamingException

opWithPrimBooleanReturn

public boolean opWithPrimBooleanReturn()
returns true

Specified by:
opWithPrimBooleanReturn in interface TestMBean

opWithPrimLongReturn

public long opWithPrimLongReturn()
Returns value 1234567890123

Specified by:
opWithPrimLongReturn in interface TestMBean

opWithPrimLongArrayReturn

public long[] opWithPrimLongArrayReturn()
Returns array [1,2,3]

Specified by:
opWithPrimLongArrayReturn in interface TestMBean

opWithLongArrayReturn

public Long[] opWithLongArrayReturn()
Returns array [1, 2, 3]

Specified by:
opWithLongArrayReturn in interface TestMBean

opWithPrimDoubleReturn

public double opWithPrimDoubleReturn()
Returns 0.1234567890123

Specified by:
opWithPrimDoubleReturn in interface TestMBean

opWithLongSignature

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)
Specified by:
opWithLongSignature in interface TestMBean

opWithMixedSignature

public void opWithMixedSignature(int i1,
                                 double i2,
                                 long i3,
                                 boolean i4,
                                 byte i5,
                                 short i6,
                                 long[] i7,
                                 Long[] i8,
                                 Short i9,
                                 Byte i10,
                                 Long i11,
                                 Double i12,
                                 int i13,
                                 int i14,
                                 int i15,
                                 int i16,
                                 int i17,
                                 int i18,
                                 int i19,
                                 int i20)
Specified by:
opWithMixedSignature in interface TestMBean

counterWithException

public void counterWithException()
Specified by:
counterWithException in interface TestMBean

getCounter

public int getCounter()
Specified by:
getCounter in interface TestMBean


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.