public Object inject(Class Klass, boolean doPostConstruct) throws InjectionProviderException {
        return inject(Klass,doPostConstruct,(ExternalContext)null);
    }
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.
@param Klass - class of object to be created
@param doPostConstruct - boolean indicates whether or not to perform post construct
@return instance of ManagedObject which contains the instance of Klass.
@throws InjectionProviderException