| java.lang.Object org.ow2.easybeans.tests.common.interceptors.business.order.PrintOrderInterceptor
PrintOrderInterceptor | public class PrintOrderInterceptor (Code) | | This generic interceptor is used to test the execution of interceptors.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza< Parameters: E - > Type of order value |
Method Summary | |
public Object | addOrder(InvocationContext invocationContext) Intercepts the method and adds the ORDER value in the array that was get from
InvocationContext.
Parameters: invocationContext - contains attributes of invocation, the firstparameter of the intercepted method must be a list. |
PrintOrderInterceptor | public PrintOrderInterceptor(E order)(Code) | | Constructor that receives the order value.
Parameters: order - value |
addOrder | public Object addOrder(InvocationContext invocationContext) throws Exception(Code) | | Intercepts the method and adds the ORDER value in the array that was get from
InvocationContext.
Parameters: invocationContext - contains attributes of invocation, the firstparameter of the intercepted method must be a list. method's invocation result throws: Exception - if invocation fails |
|
|