|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatelessLocalItf
Local interface.
Method Summary | |
---|---|
int |
addInt(int i,
int j)
Adds two int. |
void |
excludedInterceptorsMethod()
Test that no interceptors are called on this method. |
boolean |
getBoolean(boolean b)
Test method on boolean. |
boolean[] |
getBooleans(boolean[] booleans)
Test method on boolean. |
byte |
getByte(byte i)
Test method on byte. |
byte[] |
getBytes(byte[] bytes)
Test method on byte. |
char |
getChar(char c)
Test method on char. |
char[] |
getChars(char[] chars)
Test method on char. |
double |
getDouble(double d)
Test method on double. |
double[] |
getDoubles(double[] doubles)
Test method on double. |
float |
getFloat(float f)
Test method on float. |
float[] |
getFloats(float[] floats)
Test method on float. |
int |
getInt(int i)
Test method on int. |
int[] |
getInts(int[] ints)
Test method on int. |
long |
getLong(long l)
Test method on long. |
long[] |
getLongs(long[] longs)
Test method on long. |
java.lang.Object[] |
getPrimitive(boolean flag,
byte b,
char c,
double d,
float f,
int i,
long l,
java.lang.Object o)
Test method on primitive. |
short |
getShort(short s)
Test method on short. |
short[] |
getShorts(short[] shorts)
Test method on short. |
void |
singleMethodIntercepted()
Test interceptor which is applied only on a single method. |
void |
someCustomizedExceptions()
Throws a user defined exception. |
void |
someCustomizedExceptions2(int value)
Throws user defined exceptions. |
void |
someCustomizedExceptions3(int value)
Throws user defined exceptions. |
void |
throwExceptionByInterceptor()
Method do nothing but the interceptor will throw an exception. |
int |
valueDoubledByInterceptor(int i)
Change the return value by the interceptor. |
Method Detail |
---|
boolean getBoolean(boolean b)
b
- value to return
boolean[] getBooleans(boolean[] booleans)
booleans
- array to return
byte getByte(byte i)
i
- value to return
byte[] getBytes(byte[] bytes)
bytes
- array to return
char getChar(char c)
c
- value to return
char[] getChars(char[] chars)
chars
- array to return
double getDouble(double d)
d
- value to return
double[] getDoubles(double[] doubles)
doubles
- array to return
float getFloat(float f)
f
- value to return
float[] getFloats(float[] floats)
floats
- array to return
int getInt(int i)
i
- value to return
int addInt(int i, int j)
i
- first valuej
- second value
int[] getInts(int[] ints)
ints
- array to return
long getLong(long l)
l
- value to return
long[] getLongs(long[] longs)
longs
- array to return
short getShort(short s)
s
- value to return
short[] getShorts(short[] shorts)
shorts
- array to return
java.lang.Object[] getPrimitive(boolean flag, byte b, char c, double d, float f, int i, long l, java.lang.Object o)
flag
- value to returnb
- value to returnc
- value to returnd
- value to returnf
- value to returni
- value to returnl
- value to returno
- value to return
void someCustomizedExceptions() throws TestException
TestException
- an user defined exceptionvoid someCustomizedExceptions2(int value) throws TestException, TestException2
value
- depending of the value, throw different exceptions.
TestException
- an user defined exception
TestException2
- another user defined exceptionvoid someCustomizedExceptions3(int value) throws java.lang.Exception
value
- depending of the value, throw different exceptions
java.lang.Exception
- another exceptionvoid throwExceptionByInterceptor()
int valueDoubledByInterceptor(int i)
i
- value to be add twice.
void singleMethodIntercepted()
void excludedInterceptorsMethod()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |