Class 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>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase.DataTreeChangeHandler
    • Field Summary

      • Fields inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        clazz
    • 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)  
      • 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

      • 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 class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,​ElanInstanceManager>
      • remove

        protected void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier,
                              ElanInstance deletedElan)
        Specified by:
        remove in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,​ElanInstanceManager>
      • add

        protected void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> identifier,
                           ElanInstance elanInstanceAdded)
        Specified by:
        add in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,​ElanInstanceManager>
      • getWildCardPath

        protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInstance> getWildCardPath()
        Specified by:
        getWildCardPath in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<ElanInstance,​ElanInstanceManager>