Package org.apache.ibatis.binding
Class MapperRegistry
java.lang.Object
org.apache.ibatis.binding.MapperRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Configurationprivate final Map<Class<?>, MapperProxyFactory<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidvoidaddMappers(String packageName) Adds the mappers.voidaddMappers(String packageName, Class<?> superType) Adds the mappers.<T> TgetMapper(Class<T> type, SqlSession sqlSession) Collection<Class<?>> Gets the mappers.<T> boolean
-
Field Details
-
config
-
knownMappers
-
-
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
-