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

        Bootstrap app = new Bootstrap(
                binder -> binder.bind(NodeManager.class).toInstance(context.getNodeManager()),
                new LocalFileModule());

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

        return injector.getInstance(LocalFileConnector.class);
    }