@Override
  public void setFilter() throws UnableToSetSerialFilterException {
    try {
      // create the ObjectInputFilter to set as the global serial filter
      Object objectInputFilter = api.createObjectInputFilterProxy(pattern, sanctionedClasses);

      // set the global serial filter
      api.setSerialFilter(objectInputFilter);

    } catch (IllegalAccessException | InvocationTargetException e) {
      handleExceptionThrownByApi(e);
    }
  }
Invokes interface-defined operation to set this as the process-wide filter.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/filter/ReflectiveFacadeGlobalSerialFilter.java