1 25 package org.objectweb.easybeans.tests.common.interceptors.business.order; 26 27 import static org.objectweb.easybeans.tests.common.helper.InterceptorHelper.addValue; 28 29 import javax.interceptor.AroundInvoke; 30 import javax.interceptor.InvocationContext; 31 36 public class PrintOrder06Interceptor { 37 40 public static final Integer ORDER = new Integer (6); 41 42 50 @AroundInvoke 51 public Object addOrder(final InvocationContext invocationContext) throws Exception { 52 return addValue(invocationContext, ORDER, this.getClass().toString()); 53 } 54 } 55 | Popular Tags |