Spring解析Spring定义文件中定义的注释bean的顺序是否重要,如下所示:
<context:annotation-config />
<context:component-scan base-package="com.for.jms"/>
<context:component-scan base-package="com.for.lookup"/>
<context:component-scan base-package="com.for.persistence"/>
Spring解析Spring定义文件中定义的注释bean的顺序是否重要,如下所示:
<context:annotation-config />
<context:component-scan base-package="com.for.jms"/>
<context:component-scan base-package="com.for.lookup"/>
<context:component-scan base-package="com.for.persistence"/>