@Singleton public class DefaultConfigPusher extends Object implements AutoCloseable, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>
Constructor and Description |
---|
DefaultConfigPusher(NodeConfigService nodeConfigService,
org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
DeviceOwnershipService deviceOwnershipService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) |
void |
start() |
@Inject public DefaultConfigPusher(NodeConfigService nodeConfigService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, DeviceOwnershipService deviceOwnershipService)
@PostConstruct public void start()
@PreDestroy public void close()
close
in interface AutoCloseable
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications)
onDataTreeChanged
in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
Copyright © 2020 OpenDaylight. All rights reserved.