org.sdnplatform.sync.internal.config
Interface IClusterConfigProvider

All Known Implementing Classes:
DelegatingCCProvider, FallbackCCProvider, PropertyCCProvider, StorageCCProvider, SyncStoreCCProvider

public interface IClusterConfigProvider

Provides configuration for the sync service

Author:
readams

Method Summary
 ClusterConfig getConfig()
          Get the ClusterConfig that represents the current cluster
 void init(SyncManager syncManager, FloodlightModuleContext context)
          Initialize the provider with the configuration parameters from the Floodlight module context.
 

Method Detail

init

void init(SyncManager syncManager,
          FloodlightModuleContext context)
          throws SyncException
Initialize the provider with the configuration parameters from the Floodlight module context.

Parameters:
config -
Throws:
SyncException

getConfig

ClusterConfig getConfig()
                        throws SyncException
Get the ClusterConfig that represents the current cluster

Returns:
the ClusterConfig object
Throws:
SyncException