1 25 package org.objectweb.easybeans.tests.common.interceptors.business.basic; 26 27 import static org.objectweb.easybeans.tests.common.helper.InterceptorHelper.addValue; 28 import javax.interceptor.AroundInvoke; 29 import javax.interceptor.InvocationContext; 30 31 32 37 public class ProtectedInterceptor{ 38 39 42 public static final Integer ORDER = new Integer (501); 43 44 52 @AroundInvoke 53 public Object addOrder(final InvocationContext invocationContext) throws Exception { 54 return addValue(invocationContext, ORDER, this.getClass().toString()); 55 } 56 } 57 | Popular Tags |