Class BgpTopologyDeployerImpl

java.lang.Object
org.opendaylight.bgpcep.bgp.topology.provider.config.BgpTopologyDeployerImpl
All Implemented Interfaces:
AutoCloseable, EventListener, BgpTopologyDeployer, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>

@Singleton @RequireServiceComponentRuntime public final class BgpTopologyDeployerImpl extends Object implements BgpTopologyDeployer, AutoCloseable, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
  • Constructor Details

    • BgpTopologyDeployerImpl

      @Inject public BgpTopologyDeployerImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonProvider)
  • Method Details

    • onDataTreeChanged

      public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>> changes)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
    • registerTopologyProvider

      public org.opendaylight.yangtools.concepts.AbstractRegistration registerTopologyProvider(BgpTopologyProvider topologyBuilder)
      Specified by:
      registerTopologyProvider in interface BgpTopologyDeployer
    • getDataBroker

      public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
      Specified by:
      getDataBroker in interface BgpTopologyDeployer
    • registerService

      public org.opendaylight.yangtools.concepts.Registration registerService(TopologyReferenceSingletonService topologyProviderService)
      Specified by:
      registerService in interface BgpTopologyDeployer
    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable