Class BgpTopologyDeployerImpl
java.lang.Object
org.opendaylight.bgpcep.bgp.topology.provider.config.BgpTopologyDeployerImpl
- All Implemented Interfaces:
AutoCloseable
,BgpTopologyDeployer
,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.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
-
Constructor Summary
ConstructorDescriptionBgpTopologyDeployerImpl
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider singletonProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.opendaylight.mdsal.binding.api.DataBroker
void
onDataTreeChanged
(List<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>> changes) org.opendaylight.yangtools.concepts.Registration
registerService
(TopologyReferenceSingletonService topologyProviderService) org.opendaylight.yangtools.concepts.AbstractRegistration
registerTopologyProvider
(BgpTopologyProvider topologyBuilder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Constructor Details
-
BgpTopologyDeployerImpl
@Inject public BgpTopologyDeployerImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider singletonProvider)
-
-
Method Details
-
onDataTreeChanged
public void onDataTreeChanged(List<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 interfaceorg.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 interfaceBgpTopologyDeployer
-
getDataBroker
public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()- Specified by:
getDataBroker
in interfaceBgpTopologyDeployer
-
registerService
public org.opendaylight.yangtools.concepts.Registration registerService(TopologyReferenceSingletonService topologyProviderService) - Specified by:
registerService
in interfaceBgpTopologyDeployer
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-