Package play.inject

Class Bindings


  • public class Bindings
    extends Object
    • Constructor Detail

      • Bindings

        public Bindings()
    • 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