Package play.inject

Class Injector


  • public class Injector
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Injector()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static <T> T getBeanOfType​(java.lang.Class<T> clazz)
      Deprecated.
      Use Play.beanSource instead
      static <T> T getBeanOfType​(java.lang.String className)
      Deprecated.
      Use Play.beanSource instead
      static void setBeanSource​(BeanSource beanSource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Injector

        public Injector()
    • Method Detail

      • setBeanSource

        public static void setBeanSource​(BeanSource beanSource)
      • getBeanOfType

        @Deprecated
        public static <T> T getBeanOfType​(java.lang.String className)
        Deprecated.
        Use Play.beanSource instead
      • getBeanOfType

        @Deprecated
        public static <T> T getBeanOfType​(java.lang.Class<T> clazz)
        Deprecated.
        Use Play.beanSource instead