Class AclElanInterfaceListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
- org.opendaylight.netvirt.aclservice.listeners.AclElanInterfaceListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<ElanInterface>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<ElanInterface>
,org.opendaylight.serviceutils.srm.RecoverableListener
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<ElanInterface>
@Singleton public class AclElanInterfaceListener extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener> implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<ElanInterface>, org.opendaylight.serviceutils.srm.RecoverableListener
-
-
Constructor Summary
Constructors Constructor Description AclElanInterfaceListener(AclServiceManager aclServiceManager, AclClusterUtil aclClusterUtil, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, AclInterfaceCache aclInterfaceCache, org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry serviceRecoveryRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface elanInterface)
protected AclElanInterfaceListener
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface>
getWildCardPath()
void
init()
void
registerListener()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface dataObjectModification)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface dataObjectModificationBefore, ElanInterface dataObjectModificationAfter)
-
Methods inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase
addAfterListener, addBeforeListener, close, deregisterListener, onDataTreeChanged, registerListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
AclElanInterfaceListener
@Inject public AclElanInterfaceListener(AclServiceManager aclServiceManager, AclClusterUtil aclClusterUtil, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, AclInterfaceCache aclInterfaceCache, org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry serviceRecoveryRegistry)
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
init
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
registerListener
public void registerListener()
- Specified by:
registerListener
in interfaceorg.opendaylight.serviceutils.srm.RecoverableListener
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface dataObjectModification)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface dataObjectModificationBefore, ElanInterface dataObjectModificationAfter)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface elanInterface)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
getDataTreeChangeListener
protected AclElanInterfaceListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,AclElanInterfaceListener>
-
-