*/
package org.opendaylight.mdsal.dom.api;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
/**
* <p>
* Whenever a parent/child relationship is changed, the parent is notified, so it can
* understand that a logical child has been attached.
+ *
+ * @deprecated This interface is scheduled for removal in the next major release.
*/
+@Deprecated(forRemoval = true)
public interface DOMDataTreeShardingService extends DOMService {
/**
* Register a shard as responsible for a particular subtree prefix.
* @return A registration. To remove the shard's binding, close the registration.
* @throws DOMDataTreeShardingConflictException if the prefix is already bound
*/
- @Nonnull <T extends DOMDataTreeShard> ListenerRegistration<T> registerDataTreeShard(
- @Nonnull DOMDataTreeIdentifier prefix, @Nonnull T shard,
- @Nonnull DOMDataTreeProducer producer) throws DOMDataTreeShardingConflictException;
+ <T extends DOMDataTreeShard> @NonNull ListenerRegistration<T> registerDataTreeShard(
+ @NonNull DOMDataTreeIdentifier prefix, @NonNull T shard,
+ @NonNull DOMDataTreeProducer producer) throws DOMDataTreeShardingConflictException;
}