class DefaultPluginContext implements PluginContext {

    @Override
    @Nullable
    public <T> T getPlugin(String pluginName) {
        Objects.requireNonNull(pluginName, "Plugin name to lookup cannot be null");
        if (registry.containsKey(pluginName)) {
            return (T) registry.get(pluginName);
        }
        return null;
    }

    public  DefaultPluginContext();
    public  DefaultPluginContext(Map<String, Object> registry);

}