1 package javax.persistence;2 3 import java.lang.annotation.*;4 import static java.lang.annotation.ElementType .*;5 import static java.lang.annotation.RetentionPolicy .*;6 7 @Target({TYPE})8 @Retention(RUNTIME)9 public @interface EntityListener {10 String value();11 }