class DefaultPluginContext implements PluginContext {

    @Override
    public Collection<PluginRef> getAllPlugins() {
        final ArrayList<PluginRef> plugins = new ArrayList<>();
        for (Map.Entry<String, Object> entry : registry.entrySet()) {
            plugins.add(PluginRef.of(entry.getValue(), entry.getKey()));
        }
        return plugins;
    }

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

}