Class EvpnElanInstanceListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
- org.opendaylight.netvirt.elan.evpn.listeners.EvpnElanInstanceListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<ElanInstance>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<ElanInstance>
@Singleton public class EvpnElanInstanceListener extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
-
Constructor Summary
Constructors Constructor Description EvpnElanInstanceListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, EvpnUtils evpnUtils, EvpnMacVrfUtils evpnMacVrfUtils, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalApiManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> instanceIdentifier, ElanInstance evpnAugmentation)
protected EvpnElanInstanceListener
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> instanceIdentifier, ElanInstance evpnAugmentation)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> instanceIdentifier, ElanInstance original, ElanInstance update)
-
-
-
Constructor Detail
-
EvpnElanInstanceListener
@Inject public EvpnElanInstanceListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, EvpnUtils evpnUtils, EvpnMacVrfUtils evpnMacVrfUtils, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalApiManager)
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
init
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> instanceIdentifier, ElanInstance evpnAugmentation)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> instanceIdentifier, ElanInstance evpnAugmentation)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> instanceIdentifier, ElanInstance original, ElanInstance update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
getDataTreeChangeListener
protected EvpnElanInstanceListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,EvpnElanInstanceListener>
-
-