我想以这种方式注入(inject)一个配置参数:publicclassMyManagedBean{@InjectpublicMyManagedBean(@Named("user")Stringuser){....}}所以我尝试以这种方式实现生产者方法:@ApplicationScopedpublicclassMyConfiguration{privatePropertiesloadProperties(){Propertiesproperties=newProperties();try{properties.load(getClass().getResourceAsStream("us