test.compliance.server.support
Class Test

java.lang.Object
  extended bytest.compliance.server.support.Test
All Implemented Interfaces:
TestMBean (src)

public class Test
extends java.lang.Object
implements TestMBean (src)

See Also:

Constructor Summary
Test()
           
 
Method Summary
 void counterWithException()
           
 int getCounter()
           
 java.lang.String getError()
           
 java.lang.String getThisWillScream()
           
 java.lang.String getThrowUncheckedException()
           
 void operationWithException()
           
 java.lang.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, java.lang.Long[] i8, java.lang.Short i9, java.lang.Byte i10, java.lang.Long i11, java.lang.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(java.lang.String str)
           
 void setError(java.lang.String str)
           
 void setThisWillScream(java.lang.String str)
           
 void setThrowUncheckedException(java.lang.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 java.lang.String getThisWillScream()
                                   throws MyScreamingException (src) 
Specified by:
getThisWillScream in interface TestMBean (src)
Throws:
MyScreamingException (src)

setThisWillScream

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

getThrowUncheckedException

public java.lang.String getThrowUncheckedException()
Specified by:
getThrowUncheckedException in interface TestMBean (src)

setThrowUncheckedException

public void setThrowUncheckedException(java.lang.String str)
Specified by:
setThrowUncheckedException in interface TestMBean (src)

getError

public java.lang.String getError()
Specified by:
getError in interface TestMBean (src)

setError

public void setError(java.lang.String str)
Specified by:
setError in interface TestMBean (src)

setAStringAttribute

public void setAStringAttribute(java.lang.String str)
Specified by:
setAStringAttribute in interface TestMBean (src)

operationWithException

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

opWithPrimBooleanReturn

public boolean opWithPrimBooleanReturn()
returns true

Specified by:
opWithPrimBooleanReturn in interface TestMBean (src)

opWithPrimLongReturn

public long opWithPrimLongReturn()
Returns value 1234567890123

Specified by:
opWithPrimLongReturn in interface TestMBean (src)

opWithPrimLongArrayReturn

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

Specified by:
opWithPrimLongArrayReturn in interface TestMBean (src)

opWithLongArrayReturn

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

Specified by:
opWithLongArrayReturn in interface TestMBean (src)

opWithPrimDoubleReturn

public double opWithPrimDoubleReturn()
Returns 0.1234567890123

Specified by:
opWithPrimDoubleReturn in interface TestMBean (src)

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 (src)

opWithMixedSignature

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

counterWithException

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

getCounter

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