Annotation Interface Handler
@Beta
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Repeatable(HandlerList.class)
public @interface Handler
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Those conditions(by contains ignore case or regular expression match) will be joined byOR
, notAND
.boolean
ThisHandler
will be ignored for the invoke from methods of theDao
if it's set totrue
.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.dao.EmptyHandler.class
-
filter
String[] filterThose conditions(by contains ignore case or regular expression match) will be joined byOR
, notAND
. It's only applied if target of annotationHandler
isType
, and will be ignored if target is method.- Returns:
- Default:
- {".*"}
-
isForInvokeFromOutsideOfDaoOnly
boolean isForInvokeFromOutsideOfDaoOnlyThisHandler
will be ignored for the invoke from methods of theDao
if it's set totrue
. By default, it'sfalse
.- Returns:
- Default:
- false
-