class ProviderBinder implements Providers {

    public void addContextResolver(Class<? extends ContextResolver> contextResolverClass) {
        try {
            ProviderDescriptor descriptor = new ProviderDescriptorImpl(contextResolverClass);
            addContextResolver(new PerRequestObjectFactory<>(descriptor));
        } catch (Exception e) {
            LOG.error(String.format("Failed add ContextResolver %s. %s", contextResolverClass.getName(), e.getMessage()), e);
        }
    }

    protected  ProviderBinder();

}