Package com.mchange.v2.cfg
Class ResolvingEntry<T>
- java.lang.Object
-
- java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,java.lang.String>
-
- com.mchange.v2.cfg.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 Tresolve()
-
-
-
Method Detail
-
resolve
public abstract T resolve() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-