0
初始化属性我有一个非簧bean类,看起来像这样:使用一个Spring bean的依赖
public class ReportFilterManager implements Serializable {
private static final long serialVersionUID = 1L;
@SpringBean
private IControllersConfigService controllersConfigService;
private List<String> fromGroupOfControllers = controllersConfigService.getAllGroupOfControllersNames();
我想用的Spring bean controllersConfigService的方法给init fromGroupOfControllers领域。什么是最好的方式来做到这一点?