|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.tests.common.interceptors.business.PrintOrderInterceptor<E>
E
- Type of order valuepublic class PrintOrderInterceptor<E>
This generic interceptor is used to test the execution of interceptors.
Field Summary | |
---|---|
private org.objectweb.easybeans.log.JLog |
logger
Log helper. |
private E |
order
Value to add into a list. |
Constructor Summary | |
---|---|
PrintOrderInterceptor(E order)
Construct that receives the order value. |
Method Summary | |
---|---|
java.lang.Object |
addOrder(javax.ejb.InvocationContext invocationContext)
Intercepts the method and add the ORDER value in the array that was get from InvocationContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.objectweb.easybeans.log.JLog logger
private E order
Constructor Detail |
---|
public PrintOrderInterceptor(E order)
order
- valueMethod Detail |
---|
public java.lang.Object addOrder(javax.ejb.InvocationContext invocationContext) throws java.lang.Exception
invocationContext
- contains attributes of invocation, the first
parameter of the intercepted method must be a list.
java.lang.Exception
- if invocation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |