import java.util.Set;
import java.util.concurrent.Executor;
+import org.opendaylight.mdsal.binding.api.NotificationService.CompositeListener.Component;
import org.opendaylight.mdsal.binding.api.NotificationService.Listener;
import org.opendaylight.mdsal.binding.spec.reflect.BindingReflections;
import org.opendaylight.yangtools.yang.binding.DataObject;
this.executor = requireNonNull(executor);
}
+ SingleBindingDOMNotificationAdapter(final AdapterContext adapterContext, final Component<N> component,
+ final Executor executor) {
+ this(adapterContext, component.type(), component.listener(), executor);
+ }
+
@Override
void onNotification(final Absolute domType, final Notification<?> notification) {
executor.execute(() -> delegate.onNotification(type.cast(notification)));