// ===============================================================================
 // Lookup methods
 private boolean matches(
     MBeanPolicyConfig pConfig, JmxRequest.Type pType, ObjectName pName, String pValue) {
   Set<String> values = pConfig.getValues(pType, pName);
   if (values == null) {
     ObjectName pattern = pConfig.findMatchingMBeanPattern(pName);
     if (pattern != null) {
       values = pConfig.getValues(pType, pattern);
     }
   }
   return values != null && (values.contains(pValue) || wildcardMatch(values, pValue));
 }