Class ProviderContext
- java.lang.Object
-
- org.apache.ibatis.builder.annotation.ProviderContext
-
public final class ProviderContext extends Object
The context object for sql provider method.- Since:
- 3.4.5
- Author:
- Kazuki Shimizu
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatabaseId()
Get a database id that provided fromDatabaseIdProvider
.Method
getMapperMethod()
Get a mapper method that specified provider.Class<?>
getMapperType()
Get a mapper interface type that specified provider.
-
-
-
Method Detail
-
getMapperType
public Class<?> getMapperType()
Get a mapper interface type that specified provider.- Returns:
- A mapper interface type that specified provider
-
getMapperMethod
public Method getMapperMethod()
Get a mapper method that specified provider.- Returns:
- A mapper method that specified provider
-
getDatabaseId
public String getDatabaseId()
Get a database id that provided fromDatabaseIdProvider
.- Returns:
- A database id
- Since:
- 3.5.1
-
-