@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Import(value=org.mybatis.spring.annotation.MapperScannerRegistrar.RepeatingRegistrar.class) public @interface MapperScans
MapperScan annotations.
Can be used natively, declaring several nested MapperScan annotations.
Can also be used in conjunction with Java 8's support for repeatable annotations,
where MapperScan can simply be declared several times on the same method,
implicitly generating this container annotation.
MapperScan| Modifier and Type | Required Element and Description |
|---|---|
MapperScan[] |
value |
public abstract MapperScan[] value
Copyright © 2010–2019 MyBatis.org. All rights reserved.