public interface MapperProxyFactory
| 限定符和类型 | 方法和说明 |
|---|---|
static <M> M |
getMapperProxy(Class<M> mapperInterface)
创建接口,如果指定的映射接口已经存在,则直接返回缓存
|
static <M> M |
getMapperProxy(Class<M> mapperInterface,
ClassLoader classLoader,
String clusterRouterName)
创建接口,如果指定的映射接口已经存在,则直接返回缓存
|
static <M> M |
getMapperProxy(Class<M> mapperInterface,
String clusterRouterName)
创建接口,如果指定的映射接口已经存在,则直接返回缓存
|
static <M> M getMapperProxy(Class<M> mapperInterface, ClassLoader classLoader, String clusterRouterName)
M - 接口类型mapperInterface - 映射接口classLoader - 类加载器clusterRouterName - 集群路由static <M> M getMapperProxy(Class<M> mapperInterface, String clusterRouterName)
M - 接口类型mapperInterface - 映射接口clusterRouterName - 集群路由static <M> M getMapperProxy(Class<M> mapperInterface)
M - 接口类型mapperInterface - 映射接口Copyright © 2020. All rights reserved.