Package play.inject
Class Bindings
- Object
-
- play.inject.Bindings
-
public class Bindings extends Object
-
-
Constructor Summary
Constructors Constructor Description Bindings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> play.api.inject.BindingKey<T>
bind(Class<T> clazz)
Create a binding key for the given class.
-
-
-
Method Detail
-
bind
public static <T> play.api.inject.BindingKey<T> bind(Class<T> clazz)
Create a binding key for the given class.- Type Parameters:
T
- the type of the bound class- Parameters:
clazz
- the class to bind- Returns:
- the binding key for the given class
-
-