Interface PropertyProvider.Context

Enclosing class:
PropertyProvider<T>

public static interface PropertyProvider.Context
This context provides useful functionality to a PropertyProvider during value creation.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    get(Property<T> type)
    This method will resolve the value of a Property.
  • Method Details

    • get

      <T> T get(Property<T> type)
      This method will resolve the value of a Property.
      Returns:
      the value associated with the given Property
      Throws:
      ConfigurationException - may be thrown if cycling dependencies are detected
      Implementation Note:
      The values are resolved lazily and cached. Each value will only be resolved once.