Class ElanDpnInterfacesListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
- org.opendaylight.netvirt.elan.internal.ElanDpnInterfacesListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<DpnInterfaces>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<DpnInterfaces>
@Singleton public class ElanDpnInterfacesListener extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
-
Constructor Summary
Constructors Constructor Description ElanDpnInterfacesListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, ElanServiceProvider elanService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, ElanInstanceCache elanInstanceCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
protected ElanDpnInterfacesListener
getDataTreeChangeListener()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces>
getWildCardPath()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
void
start()
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces original, DpnInterfaces update)
-
-
-
Constructor Detail
-
ElanDpnInterfacesListener
@Inject public ElanDpnInterfacesListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, ElanServiceProvider elanService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, ElanInstanceCache elanInstanceCache)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
getWildCardPath
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces original, DpnInterfaces update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DpnInterfaces> identifier, DpnInterfaces dpnInterfaces)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
getDataTreeChangeListener
protected ElanDpnInterfacesListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<DpnInterfaces,ElanDpnInterfacesListener>
-
-