/** * Return the instance of ObjectMapper defined in the current ObjectMappersSuite. * * @return The instance of ObjectMapper */ protected final ObjectMapper getMapper() { return getMappers().getMapper(); }
DruidWebService druidWebService = buildDruidWebService(getMappers().getMapper()); metadataDruidWebService = buildMetadataDruidWebService(getMappers().getMapper()); bind(metadataDruidWebService).named("metadataDruidWebService").to(DruidWebService.class); bind(QueryWeightUtil.class).to(QueryWeightUtil.class); bind(getMappers()).to(ObjectMappersSuite.class); bind(getMappers().getMapper()).to(ObjectMapper.class); loader.getPhysicalTableDictionary(), dataSourceMetadataService, getMappers().getMapper() ); bind(buildResponseWriter(getMappers())).to(ResponseWriter.class);