Class FlowCapableTopologyProvider
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.topology.manager.FlowCapableTopologyProvider
-
- All Implemented Interfaces:
AutoCloseable,org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService,org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
@Singleton public class FlowCapableTopologyProvider extends Object implements org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description FlowCapableTopologyProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService, OperationProcessor processor, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider clusterSingletonServiceProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()com.google.common.util.concurrent.ListenableFuture<? extends Object>closeServiceInstance()org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifiergetIdentifier()voidinstantiateServiceInstance()voidstart()Gets called on start of a bundle.
-
-
-
Constructor Detail
-
FlowCapableTopologyProvider
@Inject public FlowCapableTopologyProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService, OperationProcessor processor, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider clusterSingletonServiceProvider)
-
-
Method Detail
-
start
@PostConstruct public void start()
Gets called on start of a bundle.
-
close
@PreDestroy public void close()
- Specified by:
closein interfaceAutoCloseable
-
instantiateServiceInstance
public void instantiateServiceInstance()
- Specified by:
instantiateServiceInstancein interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
closeServiceInstance
public com.google.common.util.concurrent.ListenableFuture<? extends Object> closeServiceInstance()
- Specified by:
closeServiceInstancein interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
getIdentifier
public org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()
- Specified by:
getIdentifierin interfaceorg.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
-
-