Class SimpleConfigLoader
- java.lang.Object
-
- org.opendaylight.bgpcep.config.loader.impl.SimpleConfigLoader
-
- All Implemented Interfaces:
AutoCloseable
,ConfigLoader
@Beta @Singleton public final class SimpleConfigLoader extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description SimpleConfigLoader(FileWatcher fileWatcher, org.opendaylight.mdsal.binding.runtime.api.BindingRuntimeContext runtimeContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
init()
org.opendaylight.yangtools.concepts.AbstractRegistration
registerConfigFile(ConfigFileProcessor config)
Register object model handler.
-
-
-
Constructor Detail
-
SimpleConfigLoader
@Inject public SimpleConfigLoader(FileWatcher fileWatcher, org.opendaylight.mdsal.binding.runtime.api.BindingRuntimeContext runtimeContext)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfaceAutoCloseable
-
registerConfigFile
public final 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
-
-