Class VpnElanInterfaceChangeListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
- org.opendaylight.netvirt.vpnmanager.VpnElanInterfaceChangeListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<ElanInterface>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<ElanInterface>
@Singleton public class VpnElanInterfaceChangeListener extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
-
Constructor Summary
Constructors Constructor Description VpnElanInterfaceChangeListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, IElanService elanService, VpnUtil vpnUtil)
-
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 VpnElanInterfaceChangeListener
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface>
getWildCardPath()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface elanInterface)
void
start()
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface origElanInterface, ElanInterface updatedElanInterface)
-
-
-
Constructor Detail
-
VpnElanInterfaceChangeListener
@Inject public VpnElanInterfaceChangeListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, IElanService elanService, VpnUtil vpnUtil)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface elanInterface)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface origElanInterface, ElanInterface updatedElanInterface)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> key, ElanInterface elanInterface)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
getDataTreeChangeListener
protected VpnElanInterfaceChangeListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInterface,VpnElanInterfaceChangeListener>
-
-