Class MapperProxyFactory<T>
- java.lang.Object
-
- pro.chenggang.project.reactive.mybatis.support.r2dbc.binding.MapperProxyFactory<T>
-
- Type Parameters:
T- the type parameter
public class MapperProxyFactory<T> extends Object
The type Mapper proxy factory.- Author:
- Lasse Voss, Gang Cheng
-
-
Constructor Summary
Constructors Constructor Description MapperProxyFactory(Class<T> mapperInterface)Instantiates a new Mapper proxy factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>getMapperInterface()Gets mapper interface.Map<Method,pro.chenggang.project.reactive.mybatis.support.r2dbc.binding.MapperProxy.MapperMethodInvoker>getMethodCache()Gets method cache.protected TnewInstance(MapperProxy<T> mapperProxy)New instance t.TnewInstance(ReactiveSqlSession reactiveSqlSession)New instance t.
-
-
-
Method Detail
-
getMapperInterface
public Class<T> getMapperInterface()
Gets mapper interface.- Returns:
- the mapper interface
-
getMethodCache
public Map<Method,pro.chenggang.project.reactive.mybatis.support.r2dbc.binding.MapperProxy.MapperMethodInvoker> getMethodCache()
Gets method cache.- Returns:
- the method cache
-
newInstance
protected T newInstance(MapperProxy<T> mapperProxy)
New instance t.- Parameters:
mapperProxy- the mapper proxy- Returns:
- the t
-
newInstance
public T newInstance(ReactiveSqlSession reactiveSqlSession)
New instance t.- Parameters:
reactiveSqlSession- the reactive sql session- Returns:
- the t
-
-