class ResourceConverterProviderImpl implements ResourceConverterProvider {

    @SuppressWarnings("unchecked")
    protected List<ResourceConverter<? super Resource, ? extends ClientResource>> getConverters() {
        final Map<String, ResourceConverter> convertersMap = context.getBeansOfType(ResourceConverter.class);
        return (List) new ArrayList<ResourceConverter>(convertersMap.values());
    }

}