Package play.inject
Class BindingKeyTarget<T>
- Object
-
- play.inject.BindingTarget<T>
-
- play.inject.BindingKeyTarget<T>
-
public final class BindingKeyTarget<T> extends BindingTarget<T>
A binding target that is provided by another key - essentially an alias.
-
-
Constructor Summary
Constructors Constructor Description BindingKeyTarget(play.api.inject.BindingKeyTarget<T> underlying)
BindingKeyTarget(BindingKey<? extends T> key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description play.api.inject.BindingKeyTarget<T>
asScala()
BindingKey<? extends T>
getKey()
-
-
-
Constructor Detail
-
BindingKeyTarget
public BindingKeyTarget(BindingKey<? extends T> key)
-
BindingKeyTarget
public BindingKeyTarget(play.api.inject.BindingKeyTarget<T> underlying)
-
-
Method Detail
-
getKey
public BindingKey<? extends T> getKey()
-
asScala
public play.api.inject.BindingKeyTarget<T> asScala()
- Specified by:
asScala
in classBindingTarget<T>
-
-