Spring初始化数据

<bean id="initializeService" class="com.demo.impl.InitializeServiceImpl" lazy-init="false" init-method="initialize">
      <property name="dataAccessor" ref="dataAccessor"/>
</bean>

相关推荐