org.objectweb.easybeans.tests.common.ejbs.stateless
Class SLSBClassInterceptorTest01

java.lang.Object
  extended by org.objectweb.easybeans.tests.common.ejbs.stateless.SLSBClassInterceptorTest01
All Implemented Interfaces:
ItfClassInterceptorTestRemote<java.lang.Integer>

public class SLSBClassInterceptorTest01
extends java.lang.Object
implements ItfClassInterceptorTestRemote<java.lang.Integer>

Is used to test if the container call the class interceptors in order.Each method in appends 0 in the array, the difference amog them is the way that the interceptors are called. This class has only one class interceptor.

Author:
Gisele Pinheiro Souza, Eduardo Studzinski E. de Castro

Field Summary
 
Fields inherited from interface org.objectweb.easybeans.tests.common.ejbs.stateless.ItfClassInterceptorTestRemote
ORDER
 
Constructor Summary
SLSBClassInterceptorTest01()
           
 
Method Summary
 java.util.List<java.lang.Integer> withExcludeClassDefInterAndFourMethodInter(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 java.util.List<java.lang.Integer> withExcludeClassInterAndOneMethodInter(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 java.util.List<java.lang.Integer> withExcludeClassInterceptor(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 java.util.List<java.lang.Integer> withExcludeDefaultInterceptor(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 java.util.List<java.lang.Integer> withOneMethodInterceptor(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 java.util.List<java.lang.Integer> withoutMethodInterceptor(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 java.util.List<java.lang.Integer> withThreeMethodInterceptor(java.util.List<java.lang.Integer> par)
          Appends an Integer with the value 0 in the par.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLSBClassInterceptorTest01

public SLSBClassInterceptorTest01()
Method Detail

withoutMethodInterceptor

public java.util.List<java.lang.Integer> withoutMethodInterceptor(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has only class interceptors that must be call in order.

Specified by:
withoutMethodInterceptor in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified

withExcludeDefaultInterceptor

public java.util.List<java.lang.Integer> withExcludeDefaultInterceptor(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has only class interceptors that must be call in order and the default interceptor(defined in the xml file) must not be executed

Specified by:
withExcludeDefaultInterceptor in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified

withExcludeClassInterceptor

public java.util.List<java.lang.Integer> withExcludeClassInterceptor(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has the annotation ExcludeClassInterceptor, so the interceptors must not be executed.

Specified by:
withExcludeClassInterceptor in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified

withExcludeClassInterAndOneMethodInter

public java.util.List<java.lang.Integer> withExcludeClassInterAndOneMethodInter(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has the annotation ExcludeClassInterceptor, so only the method interceptor must not be executed.

Specified by:
withExcludeClassInterAndOneMethodInter in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified

withExcludeClassDefInterAndFourMethodInter

public java.util.List<java.lang.Integer> withExcludeClassDefInterAndFourMethodInter(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has the annotations ExcludeClassInterceptor and ExcludeDefaultInterceptor , so only the method interceptor must not be executed.

Specified by:
withExcludeClassDefInterAndFourMethodInter in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified

withOneMethodInterceptor

public java.util.List<java.lang.Integer> withOneMethodInterceptor(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has the class interceptors and the method interceptor, so all interceptors must not be executed in order.

Specified by:
withOneMethodInterceptor in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified

withThreeMethodInterceptor

public java.util.List<java.lang.Integer> withThreeMethodInterceptor(java.util.List<java.lang.Integer> par)
Appends an Integer with the value 0 in the par. This method has the class interceptors and the method interceptors, so all interceptors must not be executed in order.

Specified by:
withThreeMethodInterceptor in interface ItfClassInterceptorTestRemote<java.lang.Integer>
Parameters:
par - list used to append the value
Returns:
the list with modified