Interface InstanceContext

    • Method Detail

      • getInstanceType

        Class<?> getInstanceType()
        Returns the type of the instance created with this context. This is most often of interest to implementations of ComputedValue.
      • get

        <T> T get​(Class<T> valueType)
        Gets an instance context value which is identified by type.
        Throws:
        IllegalArgumentException - if no such value is available in the context.