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 voidclose()voidinit()org.opendaylight.yangtools.concepts.AbstractRegistrationregisterConfigFile(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:
closein interfaceAutoCloseable
-
registerConfigFile
public final org.opendaylight.yangtools.concepts.AbstractRegistration registerConfigFile(ConfigFileProcessor config)
Description copied from interface:ConfigLoaderRegister object model handler.- Specified by:
registerConfigFilein interfaceConfigLoader- Parameters:
config- Config File Processor
-
-