Class DefaultConfigPusher
- java.lang.Object
-
- org.opendaylight.openflowplugin.openflow.ofswitch.config.DefaultConfigPusher
-
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
@Singleton public class DefaultConfigPusher extends Object implements AutoCloseable, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigPusher(NodeConfigService nodeConfigService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, DeviceOwnershipService deviceOwnershipService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications)
void
start()
-
-
-
Constructor Detail
-
DefaultConfigPusher
@Inject public DefaultConfigPusher(NodeConfigService nodeConfigService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, DeviceOwnershipService deviceOwnershipService)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfaceAutoCloseable
-
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications)
- Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-
-