Annotation Interface RepositoryEventHandler


@Target(TYPE) @Retention(RUNTIME) @Inherited public @interface RepositoryEventHandler
Advertises classes annotated with this that they are event handlers.
Author:
Jon Brisbin, Oliver Gierke
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
    Deprecated.
    the type the handler is interested in is determined by the type of the first parameter of a handler method.
  • Element Details

    • value

      @Deprecated Class<?>[] value
      Deprecated.
      the type the handler is interested in is determined by the type of the first parameter of a handler method.
      The list of ApplicationEvent classes this event handler cares about.
      Default:
      {}