onRefresh /** * 这个方法在当前版本没有实现 * 可能在spring后面的版本会去扩展 */ onRefresh(); 是个空壳方法,在AnnotationApplicationContex上下文中没有实现,可能在spring后面的版本会去扩展。 看截图可知,与Web上下文有关