final ServiceReference ref = reference;
executor.execute(new Runnable() {
@Override
public void run() {
try {
listener.serviceChanged(new ServiceEvent(
EventType.REGISTERED,
ref));
} catch (Throwable e) {
log.error("Error when notifying listener on reference "
+ EventType.REGISTERED, e);