}
List<ServiceReference> references;
listeners.add(new ListenerRegistration(listener, new Filter(query)));
references = getServiceReferences(null, query);
for (ServiceReference reference : references) {
final ServiceReference ref = reference;
executor.execute(new Runnable() {
@Override
public void run() {
try {
listener.serviceChanged(new ServiceEvent(