class ResourceHandlerManager {

    public List<NewResourceHandler> getNewResourceHandlers(final Function<NewResourceHandler, Boolean> matcher) {
        List<NewResourceHandler> matchedNewResourceHandlers = new ArrayList<>();

        getNewResourceHandlers().forEach(newResourceHandler -> {
            if (matcher.apply(newResourceHandler)) {
                matchedNewResourceHandlers.add(newResourceHandler);
            }
        });

        return matchedNewResourceHandlers;
    }

    public  ResourceHandlerManager();
    @Inject public  ResourceHandlerManager(SyncBeanManager beanManager, ClientTypeRegistry clientTypeRegistry);

}