Class MapperBinder

java.lang.Object
ru.vyarus.guicey.jdbi3.module.MapperBinder

public class MapperBinder extends 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 Details

    • MapperBinder

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