public class GroupNotificationSupplierImpl extends AbstractNotificationSupplierForItem<Group,GroupAdded,GroupUpdated,GroupRemoved>
Group
data object
and GroupAdded
, GroupUpdated
and GroupRemoved
notifications.clazz
Constructor and Description |
---|
GroupNotificationSupplierImpl(org.opendaylight.controller.sal.binding.api.NotificationProviderService notifProviderService,
org.opendaylight.controller.md.sal.binding.api.DataBroker db)
Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.
|
Modifier and Type | Method and Description |
---|---|
GroupAdded |
createNotification(Group dataTreeItemObject,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> path)
Method produces relevant addItem kind of
Notification from
data tree item identified by InstanceIdentifier path. |
GroupRemoved |
deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> path)
Method produces relevant deleteItem kind of
Notification from
path InstanceIdentifier to deleted item. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> |
getWildCardPath()
Method return wildCardPath for Listener registration and for identify
the correct KeyInstanceIdentifier from Data Tree Item in DataStore.
|
GroupUpdated |
updateNotification(Group group,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> path)
Method produces relevant updateItem kind of
Notification from
data tree item identified by InstanceIdentifier path. |
add, onDataTreeChanged, remove, update
close, createNodeRef, getNodeId, getNodeII, getNodeWildII
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public GroupNotificationSupplierImpl(org.opendaylight.controller.sal.binding.api.NotificationProviderService notifProviderService, org.opendaylight.controller.md.sal.binding.api.DataBroker db)
notifProviderService
- - NotificationProviderService
db
- - DataBroker
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> getWildCardPath()
NotificationSupplierDefinition
InstanceIdentifier
public GroupAdded createNotification(Group dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> path)
NotificationSupplierForItem
Notification
from
data tree item identified by InstanceIdentifier
path.dataTreeItemObject
- - Data Tree Item objectpath
- - Identifier of Data Tree ItemNotification
- relevant API contract Notificationpublic GroupUpdated updateNotification(Group group, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> path)
NotificationSupplierForItem
Notification
from
data tree item identified by InstanceIdentifier
path.group
- - Data Tree Item objectpath
- - Identifier of Data Tree ItemNotification
- relevant API contract Notificationpublic GroupRemoved deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> path)
NotificationSupplierForItem
Notification
from
path InstanceIdentifier
to deleted item.path
- - Identifier of Data Tree ItemNotification
- relevant API contract NotificationCopyright © 2019 OpenDaylight. All rights reserved.