Class AbstractNotificationSupplierForItem<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,U extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification>
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBase<O>
-
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.item.AbstractNotificationSupplierForItem<O,C,U,D>
-
- Type Parameters:
O
- - data tree item ObjectC
- - Create notificationU
- - Update notificationD
- - Delete notification
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<O>
,NotificationSupplierDefinition<O>
,NotificationSupplierForItem<O,C,U,D>
- Direct Known Subclasses:
FlowNotificationSupplierImpl
,GroupNotificationSupplierImpl
,MeterNotificationSupplierImpl
public abstract class AbstractNotificationSupplierForItem<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,U extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification> extends AbstractNotificationSupplierBase<O> implements NotificationSupplierForItem<O,C,U,D>
Class is package protected abstract implementation for all Old Root Items Notification Suppliers.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBase
clazz
-
-
Constructor Summary
Constructors Constructor Description AbstractNotificationSupplierForItem(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db, Class<O> clazz)
Default constructor for all item Notification Supplier implementation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O add)
void
onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<O>> changes)
void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O del)
void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O before, O after)
-
Methods inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBase
close, createNodeRef, getNodeId, getNodeII, getNodeWildII
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Methods inherited from interface org.opendaylight.openflowplugin.applications.notification.supplier.NotificationSupplierDefinition
getWildCardPath
-
Methods inherited from interface org.opendaylight.openflowplugin.applications.notification.supplier.NotificationSupplierForItem
createNotification, deleteNotification, updateNotification
-
-
-
-
Constructor Detail
-
AbstractNotificationSupplierForItem
public AbstractNotificationSupplierForItem(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db, Class<O> clazz)
Default constructor for all item Notification Supplier implementation.- Parameters:
notifProviderService
- - notification publisherdb
- - DataBroker for DataTreeChangeListener registrationclazz
- - Statistics Notification Class
-
-
Method Detail
-
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<O>> changes)
- Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<O extends org.opendaylight.yangtools.yang.binding.DataObject>
-
add
public void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O add)
-
remove
public void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O del)
-
-