class ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> {

    @Override
    public BiConsumer<MenuItemClick, Map<String, Object>> apply(String name) {
        return registryMap.get(name).getListener();
    }

    public  ClickListenerRegistry(Map<String, RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>>> registryMap);
    public  ClickListenerRegistry();

}