Class ConfigLoaderImpl
- java.lang.Object
-
- org.opendaylight.bgpcep.config.loader.impl.ConfigLoaderImpl
-
- All Implemented Interfaces:
AutoCloseable
,ConfigLoader
public final class ConfigLoaderImpl extends Object implements ConfigLoader, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ConfigLoaderImpl(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext, org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingSerializer, FileWatcher fileWatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer
getBindingNormalizedNodeSerializer()
Provides BindingNormalizedNodeSerializer.void
init()
org.opendaylight.yangtools.concepts.AbstractRegistration
registerConfigFile(ConfigFileProcessor config)
Register object model handler.
-
-
-
Constructor Detail
-
ConfigLoaderImpl
public ConfigLoaderImpl(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext, org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingSerializer, FileWatcher fileWatcher)
-
-
Method Detail
-
init
public void init()
-
registerConfigFile
public org.opendaylight.yangtools.concepts.AbstractRegistration registerConfigFile(ConfigFileProcessor config)
Description copied from interface:ConfigLoader
Register object model handler.- Specified by:
registerConfigFile
in interfaceConfigLoader
- Parameters:
config
- Config File Processor
-
getBindingNormalizedNodeSerializer
public org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer getBindingNormalizedNodeSerializer()
Description copied from interface:ConfigLoader
Provides BindingNormalizedNodeSerializer.- Specified by:
getBindingNormalizedNodeSerializer
in interfaceConfigLoader
- Returns:
- Binding Normalized node serializer
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-