Interface MountPointContext
- All Superinterfaces:
EffectiveModelContextProvider
- All Known Implementing Classes:
EmptyMountPointContext
A context of either an explicit (RFC8528 Schema Mount instance) or implicit (system root). It encapsulates a data
EffectiveModelContext
and information resident in
schema-mounts
within this hierarchy.
Note this interface should be part of yang-data-api, as it really defines how a NormalizedNode-containerized data operates w.r.t. mount points. Further evolution is expected.
-
Method Summary
Modifier and TypeMethodDescriptionfindMountPoint
(@NonNull MountPointIdentifier label) Attempt to acquire aMountPointContextFactory
to resolve schemas for the purposes of interpreting this mount point.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
Method Details
-
findMountPoint
Attempt to acquire aMountPointContextFactory
to resolve schemas for the purposes of interpreting this mount point. An empty result indicates the mount point is not attached.- Parameters:
label
- Mount point label, as defined via the use ofmount-point
statement- Returns:
- An optional handler for mount point data
- Throws:
NullPointerException
- if label is null
-