Search in sources :

Example 1 with AbstractAsyncDataTreeChangeListener

use of org.opendaylight.serviceutils.tools.listener.AbstractAsyncDataTreeChangeListener in project netvirt by opendaylight.

the class BgpConfigurationManager method registerCallbacks.

private void registerCallbacks() {
    for (Class<?> reactor : REACTORS) {
        Object obj = createListener(reactor);
        if (obj != null) {
            AbstractAsyncDataTreeChangeListener dcl = (AbstractAsyncDataTreeChangeListener) obj;
            dcl.register();
            listeners.add(dcl);
        }
    }
}
Also used : DataObject(org.opendaylight.yangtools.yang.binding.DataObject) AbstractAsyncDataTreeChangeListener(org.opendaylight.serviceutils.tools.listener.AbstractAsyncDataTreeChangeListener)

Aggregations

AbstractAsyncDataTreeChangeListener (org.opendaylight.serviceutils.tools.listener.AbstractAsyncDataTreeChangeListener)1 DataObject (org.opendaylight.yangtools.yang.binding.DataObject)1