public Object inject ( Class Klass , boolean doPostConstruct ) throws InjectionProviderException { return inject ( Klass , doPostConstruct , ( ExternalContext ) null ) ; }
CDI 1 . 2 injection based on a Class . CDI will create the object instance which allows for constructor Injection .