Class AbstractNotificationSupplierForItemRoot<O extends org.opendaylight.yangtools.yang.binding.DataObject,C 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.AbstractNotificationSupplierForItemRoot<O,C,D>
 
 
 
- 
- Type Parameters:
 O- - data tree item ObjectC- - Create notificationD- - Delete notification
- All Implemented Interfaces:
 AutoCloseable,EventListener,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<O>,NotificationSupplierDefinition<O>,NotificationSupplierForItemRoot<O,C,D>
- Direct Known Subclasses:
 NodeConnectorNotificationSupplierImpl,NodeNotificationSupplierImpl
public abstract class AbstractNotificationSupplierForItemRoot<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification> extends AbstractNotificationSupplierBase<O> implements NotificationSupplierForItemRoot<O,C,D>
Class is package protected abstract implementation for all Root Items Notification Suppliers. 
- 
- 
Field Summary
- 
Fields inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBase
clazz 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractNotificationSupplierForItemRoot(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationProviderService, org.opendaylight.mdsal.binding.api.DataBroker db, Class<O> clazz)Default constructor for all Root Item Notification Supplier implementation. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O add)voidonDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<O>> changes)voidremove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier, O del)voidupdate(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.NotificationSupplierForItemRoot
createNotification, deleteNotification 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AbstractNotificationSupplierForItemRoot
public AbstractNotificationSupplierForItemRoot(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationProviderService, org.opendaylight.mdsal.binding.api.DataBroker db, Class<O> clazz)Default constructor for all Root Item Notification Supplier implementation.- Parameters:
 notificationProviderService- - 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:
 onDataTreeChangedin 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)
 
 - 
 
 -