/**
  * Removes the resource instance of provided class from root resource container.
  *
  * @param clazz the class of resource
  */
 @SuppressWarnings("rawtypes")
 public void removeResource(Class clazz) {
   resourceBinder.removeResource(clazz);
 }
 /**
  * Registers supplied Object as singleton root resource if it has valid JAX-RS annotations and no
  * one resource with the same UriPattern already registered.
  *
  * @param resource candidate to be root resource
  * @param properties optional resource properties. It may contains additional info about resource,
  *     e.g. description of resource, its responsibility, etc. This info can be retrieved {@link
  *     org.exoplatform.services.rest.ObjectModel#getProperties()}. This parameter may be <code>
  *     null</code>
  */
 public void addResource(final Object resource, MultivaluedMap<String, String> properties) {
   resourceBinder.addResource(resource, properties);
 }