Search in sources :

Example 1 with AsyncDataTreeChangeListenerBase

use of org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase in project netvirt by opendaylight.

the class BgpConfigurationManager method registerCallbacks.

private void registerCallbacks() {
    for (Class<?> reactor : REACTORS) {
        Object obj = createListener(reactor);
        if (obj != null) {
            AsyncDataTreeChangeListenerBase dcl = (AsyncDataTreeChangeListenerBase) obj;
            dcl.registerListener(LogicalDatastoreType.CONFIGURATION, dataBroker);
            listeners.add(dcl);
        }
    }
}
Also used : AsyncDataTreeChangeListenerBase(org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase) DataObject(org.opendaylight.yangtools.yang.binding.DataObject)

Aggregations

AsyncDataTreeChangeListenerBase (org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase)1 DataObject (org.opendaylight.yangtools.yang.binding.DataObject)1