POLLOPTION-conf.xml 1.1 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
  3. <beans>
  4. <!-- Spring DAO Config -->
  5. <bean id="polloptionDAO" class="com.ccgj.database.dao.impl.POLLOPTIONDAOImpl">
  6. <property name="sessionFactory" ref="sessionFactory" ></property>
  7. </bean>
  8. <!-- Spring Manager Config -->
  9. <bean id="polloptionManager" class="com.ccgj.database.manager.POLLOPTIONManager">
  10. <property name="transactionManager"><ref bean="transactionManager"/></property>
  11. <property name="dao" ref="polloptionDAO" ></property>
  12. </bean>
  13. <!-- Service implemention Config -->
  14. <bean id="polloptionService" class="com.ccgj.database.business.POLLOPTIONService">
  15. <property name="transactionManager"><ref bean="transactionManager"/></property>
  16. <property name="polloptionManager" ref="polloptionManager"></property>
  17. </bean>
  18. <!-- Service Locator Register -->
  19. <bean id="polloptionIF" class="com.ccgj.database.business.POLLOPTIONIFImpl">
  20. <property name="polloptionService" ref="polloptionService"></property>
  21. </bean>
  22. </beans>