code: public static Filter getFilterForLocation(Class<?> clazz, String location, String context)
          throws IllegalArgumentException {
          String filter = makeLocationFilterString(location, context);
          return FilterUtils.makeFilter(clazz, filter);
      }
docs: returns a filter that matches services with the given class and location in both the given context and the
  root-context
  
  @throws IllegalArgumentException if the location contains special characters that prevent the filter from
  compiling