Class ElanInstanceManager
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
- org.opendaylight.netvirt.elan.internal.ElanInstanceManager
-
- 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 ElanInstanceManager extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
-
Constructor Summary
Constructors Constructor Description ElanInstanceManager(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService managerService, ElanInterfaceManager elanInterfaceManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, ElanInterfaceCache elanInterfaceCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance elanInstanceAdded)
protected ElanInstanceManager
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance deletedElan)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance original, ElanInstance update)
-
-
-
Constructor Detail
-
ElanInstanceManager
@Inject public ElanInstanceManager(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService managerService, ElanInterfaceManager elanInterfaceManager, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, ElanInterfaceCache elanInterfaceCache)
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
init
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance deletedElan)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance original, ElanInstance update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier, ElanInstance elanInstanceAdded)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
getDataTreeChangeListener
protected ElanInstanceManager getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,ElanInstanceManager>
-
-