presto-mongodb/src/main/java/io/prestosql/plugin/mongodb/MongoConnectorFactory.java/MongoConnectorFactory/create
class MongoConnectorFactory:    @Override
    public Connector create(String catalogName, Map<String, String> config, ConnectorContext context)
    {
        requireNonNull(config, "config is null");

        Bootstrap app = new Bootstrap(
                new JsonModule(),
                new MongoClientModule(),
                binder -> binder.bind(TypeManager.class).toInstance(context.getTypeManager()));

        Injector injector = app.strictConfig().doNotInitializeLogging()
                .setRequiredConfigurationProperties(config)
                .initialize();

        return injector.getInstance(MongoConnector.class);
    }