private boolean isRelevant(Object service,Entry[] attributes){
  LOOP:   for (  Entry e : _serviceAttributes) {
    for (    Entry en : attributes) {
      if (e.equals(en))       continue LOOP;
    }
    return false;
  }
  boolean flag=false;
  for (  Entry en : attributes) {
    if (_serviceName.equals(en)) {
      flag=true;
      break;
    }
  }
  if (!flag)   return false;
  flag=false;
  for (  Class cl : _classes) {
    if (cl.isInstance(service)) {
      flag=true;
      break;
    }
  }
  return flag;
}

private boolean isRelevant ( Object service , Entry [ ] attributes ) { LOOP : for ( Entry e : _serviceAttributes ) { for ( Entry en : attributes ) { if ( e . equals ( en ) ) continue LOOP ; } return false ; } boolean flag = false ; for ( Entry en : attributes ) { if ( _serviceName . equals ( en ) ) { flag = true ; break ; } } if ( ! flag ) return false ; flag = false ; for ( Class cl : _classes ) { if ( cl . isInstance ( service ) ) { flag = true ; break ; } } return flag ; }
is relevant service . used as filter for the incoming events .
