+ private static class Builder extends BindingDOMAdapterBuilder<NotificationService> {
+
+
+ @Override
+ protected NotificationService createInstance(BindingToNormalizedNodeCodec codec,
+ ClassToInstanceMap<DOMService> delegates) {
+ DOMNotificationService domNotification = delegates.getInstance(DOMNotificationService.class);
+ NotificationInvokerFactory invokerFactory = SingletonHolder.INVOKER_FACTORY;
+ return new ForwardedNotificationService(codec.getCodecFactory(), domNotification, invokerFactory);
+ }
+
+ @Override
+ public Set<? extends Class<? extends DOMService>> getRequiredDelegates() {
+ return ImmutableSet.of(DOMNotificationService.class);
+ }
+
+
+
+ }