Annotation Interface Handler


@Beta @Retention(RUNTIME) @Target({METHOD,TYPE}) @Repeatable(HandlerList.class) public @interface Handler
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Those conditions(by contains ignore case or regular expression match) will be joined by OR, not AND.
    boolean
    This Handler will be ignored for the invoke from methods of the Dao if it's set to true.
     
    Class<? extends Jdbc.Handler<? extends Dao>>
     
  • Element Details

    • qualifier

      String qualifier
      Default:
      ""
    • type

      Class<? extends Jdbc.Handler<? extends Dao>> type
      Default:
      com.landawn.abacus.jdbc.EmptyHandler.class
    • filter

      String[] filter
      Those conditions(by contains ignore case or regular expression match) will be joined by OR, not AND. It's only applied if target of annotation Handler is Type, and will be ignored if target is method.
      Returns:
      Default:
      {".*"}
    • isForInvokeFromOutsideOfDaoOnly

      boolean isForInvokeFromOutsideOfDaoOnly
      This Handler will be ignored for the invoke from methods of the Dao if it's set to true. By default, it's false.
      Returns:
      Default:
      false