src/main/java/org/ucmtwine/parameter/types/ProviderParameter.java
@Override
  public Object getArgumentValue(Object object, Service service) throws ClassCastException {

    if (object instanceof String) {
      Provider provider = Providers.getProvider((String) object);

      if (provider != null) {
        return provider;
      }
    }
    return null;
    // throw new
    // ClassCastException("Must supply the name of a provider as a string");
  }
@Override
  public Object getArgumentValue(Object object, Service service) throws ClassCastException {

    if (object instanceof String) {
      Provider provider = Providers.getProvider((String) object);

      if (provider != null) {
        return provider;
      }
    }
    return null;
    // throw new
    // ClassCastException("Must supply the name of a provider as a string");
  }
Returns a result set found by the passed in string value.