Annotation Interface MapperScans


@Retention(RUNTIME) @Target(TYPE) @Documented @Import(org.mybatis.spring.annotation.MapperScannerRegistrar.RepeatingRegistrar.class) public @interface MapperScans
The Container annotation that aggregates several 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.

Since:
2.0.0
Author:
Kazuki Shimizu
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description