1 package info.ejava.examples.ejb.interceptor.interceptors; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Inherited; 5 import java.lang.annotation.Retention; 6 import java.lang.annotation.RetentionPolicy; 7 import java.lang.annotation.Target; 8 import javax.interceptor.InterceptorBinding; 9 10 @Inherited 11 @InterceptorBinding 12 @Target({ElementType.TYPE, ElementType.METHOD}) 13 @Retention(RetentionPolicy.RUNTIME) 14 public @interface Validation { 15 }