|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConvertedConstantBinding<T>
A binding created from converting a bound instance to a new type. The source binding has the same binding annotation but a different type.
Method Summary | |
---|---|
Set<Dependency<?>> |
getDependencies()
Returns a singleton set containing only the converted key. |
Key<String> |
getSourceKey()
Returns the key for the source binding. |
T |
getValue()
Returns the converted value. |
Methods inherited from interface org.elasticsearch.common.inject.Binding |
---|
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider |
Methods inherited from interface org.elasticsearch.common.inject.spi.Element |
---|
acceptVisitor, applyTo, getSource |
Method Detail |
---|
T getValue()
Key<String> getSourceKey()
Injector.getBinding(key)
.
Set<Dependency<?>> getDependencies()
getDependencies
in interface HasDependencies
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |