-
- /**
- * Registers {@link org.opendaylight.controller.md.sal.common.api.data.DataChangeListener} for Data Change callbacks which will
- * be triggered on the change of provided subpath. What constitutes a change
- * depends on the @scope parameter.
- *
- * Listener upon registration receives an initial callback
- * {@link AsyncDataChangeListener#onDataChanged(org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeEvent)}
- * which contains stable view of data tree at the time of registration.
- *
- * @param path Path (subtree identifier) on which client listener will be
- * invoked.
- *
- * @param listener
- * Instance of listener which should be invoked on
- * @param scope
- * Scope of change which triggers callback.
- * @return Listener Registration object, which client may use to close
- * registration / interest on receiving data changes.
- *
- */
- <L extends AsyncDataChangeListener<InstanceIdentifier, NormalizedNode<?, ?>>> ListenerRegistration<L> registerChangeListener(
- InstanceIdentifier path, L listener, DataChangeScope scope);
-