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);
}
}
}
Aggregations