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 void
close()
com.google.common.util.concurrent.ListenableFuture<? extends Object>
closeServiceInstance()
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier
getIdentifier()
void
instantiateServiceInstance()
void
start()
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:
close
in interfaceAutoCloseable
-
instantiateServiceInstance
public void instantiateServiceInstance()
- Specified by:
instantiateServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
closeServiceInstance
public com.google.common.util.concurrent.ListenableFuture<? extends Object> closeServiceInstance()
- Specified by:
closeServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
getIdentifier
public org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()
- Specified by:
getIdentifier
in interfaceorg.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
-
-