Bug 868: Binding MD-SAL exports new codec factory.
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / impl / ForwardedNotificationService.java
index 8ce8da8203f3f694ef7b68bc5d7b09ffc747e2e5..f0545ca22d7189839e521602988bec2d22903fd9 100644 (file)
@@ -113,7 +113,7 @@ public class ForwardedNotificationService implements NotificationService, AutoCl
                 ClassToInstanceMap<DOMService> delegates) {
             DOMNotificationService domNotification = delegates.getInstance(DOMNotificationService.class);
             NotificationInvokerFactory invokerFactory = SingletonHolder.INVOKER_FACTORY;
-            return new ForwardedNotificationService(codec.getCodecFactory(), domNotification, invokerFactory);
+            return new ForwardedNotificationService(codec.getCodecRegistry(), domNotification, invokerFactory);
         }
 
         @Override