Class NetworkTopologyConfigFileProcessor
- java.lang.Object
-
- org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor
-
- org.opendaylight.bgpcep.config.loader.topology.NetworkTopologyConfigFileProcessor
-
- All Implemented Interfaces:
AutoCloseable
,ConfigFileProcessor
,org.opendaylight.yangtools.concepts.Registration
@Singleton public final class NetworkTopologyConfigFileProcessor extends AbstractConfigFileProcessor
-
-
Constructor Summary
Constructors Constructor Description NetworkTopologyConfigFileProcessor(ConfigLoader configLoader, org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute
fileRootSchema()
Return theSchemaNodeIdentifier.Absolute
path to the expected root node of the document contained in the file.void
init()
protected com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>
loadConfiguration(org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
Load specified DTO using providedDOMDataBroker
.-
Methods inherited from class org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor
loadConfiguration, start, stop
-
-
-
-
Constructor Detail
-
NetworkTopologyConfigFileProcessor
@Inject public NetworkTopologyConfigFileProcessor(ConfigLoader configLoader, org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
close
@PreDestroy public void close()
-
fileRootSchema
public org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute fileRootSchema()
Description copied from interface:ConfigFileProcessor
Return theSchemaNodeIdentifier.Absolute
path to the expected root node of the document contained in the file.- Returns:
- An absolute schema node identifier.
-
loadConfiguration
protected com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> loadConfiguration(org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
Description copied from class:AbstractConfigFileProcessor
Load specified DTO using providedDOMDataBroker
.- Specified by:
loadConfiguration
in classAbstractConfigFileProcessor
- Parameters:
dataBroker
- data broker to usedto
- normalizedNode- Returns:
- Transaction commit future
-
-