org.sdnplatform.sync.internal.config
Class DelegatingCCProvider
java.lang.Object
org.sdnplatform.sync.internal.config.DelegatingCCProvider
- All Implemented Interfaces:
- IClusterConfigProvider
public class DelegatingCCProvider
- extends java.lang.Object
- implements IClusterConfigProvider
Delegate cluster configuration to a list of providers
- Author:
- readams
Field Summary |
protected static org.slf4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
DelegatingCCProvider
public DelegatingCCProvider()
addProvider
public void addProvider(IClusterConfigProvider provider)
init
public void init(SyncManager syncManager,
FloodlightModuleContext context)
- Description copied from interface:
IClusterConfigProvider
- Initialize the provider with the configuration parameters from the
Floodlight module context.
- Specified by:
init
in interface IClusterConfigProvider
getConfig
public ClusterConfig getConfig()
throws SyncException
- Description copied from interface:
IClusterConfigProvider
- Get the
ClusterConfig
that represents the current cluster
- Specified by:
getConfig
in interface IClusterConfigProvider
- Returns:
- the
ClusterConfig
object
- Throws:
SyncException