Class NodeEventListener<D extends org.opendaylight.yangtools.yang.binding.DataObject>

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.EventListener, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<D>, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<D>

    @Singleton
    public class NodeEventListener<D extends org.opendaylight.yangtools.yang.binding.DataObject>
    extends java.lang.Object
    implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<D>, java.lang.AutoCloseable
    • Method Detail

      • start

        @PostConstruct
        public void start()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • close

        @PreDestroy
        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • onDataTreeChanged

        public void onDataTreeChanged​(@NonNull java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<D>> changes)
        Specified by:
        onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<D extends org.opendaylight.yangtools.yang.binding.DataObject>