public static FormatConverter getConverter(String name) {
    if (StringUtilities.isBlank(name)) {
      return null;
    }

    return CONVERSION_MAP.get(name);
  }
  public List<FilterContext> buildFilterContexts(
      ClassLoaderManagerService classLoaderContextManager, ReposeCluster domain, Node localHost) {
    Thread.currentThread().setName(instanceInfo.toString());
    final List<FilterContext> filterContexts = new LinkedList<FilterContext>();

    if (localHost == null || domain == null) {
      LOG.error(
          "Unable to identify the local host in the system model - please check your system-model.cfg.xml");
      throw new IllegalArgumentException("Domain and host cannot be null");
    }

    if (domain.getFilters() != null && domain.getFilters().getFilter() != null) {
      for (org.openrepose.core.systemmodel.Filter papiFilter : domain.getFilters().getFilter()) {

        if (StringUtilities.isBlank(papiFilter.getName())) {
          LOG.error(
              "Filter declaration has a null or empty name value - please check your system model configuration");
          continue;
        }

        if (classLoaderContextManager.hasFilter(papiFilter.getName())) {
          final FilterContext context = getFilterContext(classLoaderContextManager, papiFilter);

          if (context != null) {
            filterContexts.add(context);
          } else {
            filterContexts.add(new FilterContext(null, null, papiFilter));
          }
        } else {
          LOG.error(
              "Unable to satisfy requested filter chain - none of the loaded artifacts supply a filter named "
                  + papiFilter.getName());
          filterContexts.add(new FilterContext(null, null, papiFilter));
        }
      }
    }

    return filterContexts;
  }