Class MapperBinder


  • public class MapperBinder
    extends java.lang.Object
    Supplements MapperInstaller: installer recognize and report found mappers and this bean will actually register resolved mappers in dbi instance.

    Delayed initialization used to simplify access to DBI instance (in installer it was hard to do).

    Since:
    31.08.2018
    • Constructor Summary

      Constructors 
      Constructor Description
      MapperBinder​(org.jdbi.v3.core.Jdbi dbi, java.util.Set<org.jdbi.v3.core.mapper.RowMapper> mappers)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapperBinder

        @Inject
        public MapperBinder​(org.jdbi.v3.core.Jdbi dbi,
                            java.util.Set<org.jdbi.v3.core.mapper.RowMapper> mappers)