Package org.apache.ibatis.binding
Class MapperRegistry
java.lang.Object
org.apache.ibatis.binding.MapperRegistry
- Author:
- Clinton Begin, Eduardo Macarron, Lasse Voss
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> void
void
addMappers
(String packageName) Adds the mappers.void
addMappers
(String packageName, Class<?> superType) Adds the mappers.<T> T
getMapper
(Class<T> type, SqlSession sqlSession) Collection<Class<?>>
Gets the mappers.<T> boolean
-
Constructor Details
-
MapperRegistry
-
-
Method Details
-
getMapper
-
hasMapper
-
addMapper
-
getMappers
Gets the mappers.- Returns:
- the mappers
- Since:
- 3.2.2
-
addMappers
Adds the mappers.- Parameters:
packageName
- the package namesuperType
- the super type- Since:
- 3.2.2
-
addMappers
Adds the mappers.- Parameters:
packageName
- the package name- Since:
- 3.2.2
-