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

        // A plugin is not required to use Guice; it is just very convenient
        Bootstrap app = new Bootstrap(
                new JsonModule(),
                new MemoryModule(context.getTypeManager(), context.getNodeManager()));

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

        return injector.getInstance(MemoryConnector.class);
    }