Interface YangFeatureProvider<R extends DataRoot<R>>


@NonNullByDefault public interface YangFeatureProvider<R extends DataRoot<R>>
Run-time feature discovery service. Implementations of this interface are required to be registered with the ServiceLoader framework.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the module this provider recognizes.
    Set<? extends YangFeature<?,R>>
    Return the set of supported features.
  • Method Details

    • boundModule

      Class<R> boundModule()
      Return the module this provider recognizes. It is implied that any feature defined in this module and not advertized by any provider is unavailable.
      Returns:
      DataRoot class this provider binds to
    • supportedFeatures

      Set<? extends YangFeature<?,R>> supportedFeatures()
      Return the set of supported features.
      Returns:
      Supported features.