2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.openflowplugin.applications.notification.supplier;
11 import org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener;
12 import org.opendaylight.yangtools.yang.binding.DataObject;
13 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
16 * Default definition for every Notification Supplier. Migration from notification
17 * to {@link org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener} has one
18 * keyed component - WildCarded Path which represent a changes checker in DataStoreTreeNode
20 * @param <O> - {@link DataObject} represent Data Tree Item from DataStore
22 public interface NotificationSupplierDefinition<O extends DataObject> extends AutoCloseable, DataTreeChangeListener<O> {
25 * Method return wildCardPath for Listener registration and for identify
26 * the correct KeyInstanceIdentifier from Data Tree Item in DataStore.
28 * @return {@link InstanceIdentifier}
30 InstanceIdentifier<O> getWildCardPath();