Class ResolvingEntry<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Map.Entry<java.lang.String,​java.lang.String>

    public abstract class ResolvingEntry<T>
    extends java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>
    A configuration entry -- the key that was consulted and the value found under it -- together with the means to turn that value into the object it names.

    Separating the two lets a caller report what was configured even when resolution or the resolved object's own behaviour is what went wrong. A message that names the key and the value tells a deployer where to go; one that names only the interface does not.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ResolvingEntry​(java.lang.String key, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract T resolve()  
      • Methods inherited from class java.util.AbstractMap.SimpleImmutableEntry

        equals, getKey, getValue, hashCode, setValue, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResolvingEntry

        public ResolvingEntry​(java.lang.String key,
                              java.lang.String value)
    • Method Detail

      • resolve

        public abstract T resolve()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception