Class ForwardingConfigFileProcessor
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.opendaylight.bgpcep.config.loader.spi.ForwardingConfigFileProcessor
-
- All Implemented Interfaces:
ConfigFileProcessor
- Direct Known Subclasses:
AbstractOSGiConfigFileProcessor
public abstract class ForwardingConfigFileProcessor extends com.google.common.collect.ForwardingObject implements ConfigFileProcessor
Implementation ofConfigFileProcessor
which forwards request to a delegate.
-
-
Constructor Summary
Constructors Constructor Description ForwardingConfigFileProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @NonNull ConfigFileProcessor
delegate()
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
loadConfiguration(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
Load the information contained on the normalized node.
-
-
-
Method Detail
-
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.- Specified by:
fileRootSchema
in interfaceConfigFileProcessor
- Returns:
- An absolute schema node identifier.
-
loadConfiguration
public void loadConfiguration(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
Description copied from interface:ConfigFileProcessor
Load the information contained on the normalized node.- Specified by:
loadConfiguration
in interfaceConfigFileProcessor
- Parameters:
dto
- normalizedNode
-
delegate
protected abstract @NonNull ConfigFileProcessor delegate()
- Specified by:
delegate
in classcom.google.common.collect.ForwardingObject
-
-