Class 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 Detail

      • MapperProxyFactory

        public MapperProxyFactory​(Class<T> mapperInterface)
        Instantiates a new Mapper proxy factory.
        Parameters:
        mapperInterface - the mapper interface
    • 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