1 25 package org.objectweb.easybeans.tests.common.interceptors.business.basic; 26 27 import static org.objectweb.easybeans.tests.common.helper.InterceptorHelper.addValue; 28 29 import javax.interceptor.AroundInvoke; 30 import javax.interceptor.InvocationContext; 31 32 33 34 39 public class PrivateInterceptor{ 40 41 44 public static final Integer ORDER = new Integer (500); 45 46 54 @AroundInvoke 55 public Object addOrder(final InvocationContext invocationContext) throws Exception { 56 return addValue(invocationContext, ORDER, this.getClass().toString()); 57 } 58 59 } 60 | Popular Tags |