public final void registerNamespacePolicy(String namespaceKey, final String... namespaces) {
    myNamespacePolicies.put(namespaceKey, new ConstantFunction<>(Arrays.asList(namespaces)));
  }
public final void registerNamespacePolicy(String namespaceKey, final String... namespaces)