import org.opendaylight.mdsal.binding.api.NotificationPublishService;
import org.opendaylight.mdsal.binding.api.NotificationService;
-import org.opendaylight.mdsal.binding.dom.adapter.BindingToNormalizedNodeCodec;
+import org.opendaylight.mdsal.binding.dom.adapter.AdapterContext;
import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
public class AbstractNotificationBrokerTest extends AbstractSchemaAwareTest {
- private BindingToNormalizedNodeCodec bindingToNormalizedNodeCodec;
+ private AdapterContext bindingToNormalizedNodeCodec;
private DOMNotificationRouter domNotificationRouter;
private NotificationService notificationService;
private NotificationPublishService notificationPublishService;
domNotificationRouter = testCustomizer.getDomNotificationRouter();
notificationService = testCustomizer.createNotificationService();
notificationPublishService = testCustomizer.createNotificationPublishService();
- bindingToNormalizedNodeCodec = testCustomizer.getBindingToNormalized();
+ bindingToNormalizedNodeCodec = testCustomizer.getAdapterContext();
testCustomizer.updateSchema(context);
}
return domNotificationRouter;
}
- public BindingToNormalizedNodeCodec getBindingToNormalizedNodeCodec() {
+ public AdapterContext getBindingToNormalizedNodeCodec() {
return bindingToNormalizedNodeCodec;
}
}