All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rvey.service-survey.14.source-code.survey-context.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:cache="http://www.springframework.org/schema/cache"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
                http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd"
       default-autowire="no"
    >

    <import resource="classpath:/survey-dao.xml" />
    
    <!--           Services             -->
    
    <bean id="surveyService" class="com.wadpam.survey.service.SurveyService"
          init-method="init">
        <property name="answerDao" ref="dAnswerDao" />
        <property name="i18nDao" ref="di18nDao" />
        <property name="optionDao" ref="dOptionDao" />
        <property name="questionDao" ref="dQuestionDao" />
        <property name="responseDao" ref="dResponseDao" />
        <property name="surveyDao" ref="dSurveyDao" />
        <property name="versionDao" ref="dVersionDao" />
    </bean>
    
    <bean id="surveyCrudService" class="com.wadpam.survey.service.SurveyCrudService">
        <property name="dao" ref="dSurveyDao" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    <bean id="versionService" class="com.wadpam.survey.service.VersionService" >
        <property name="dao" ref="dVersionDao" />
    </bean>
    <bean id="questionService" class="com.wadpam.survey.service.QuestionService" >
        <property name="dao" ref="dQuestionDao" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    <bean id="optionService" class="com.wadpam.survey.service.OptionService" >
        <property name="dao" ref="dOptionDao" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    <bean id="responseService" class="com.wadpam.survey.service.ResponseService" >
        <property name="dao" ref="dResponseDao" />
    </bean>
    <bean id="answerService" class="com.wadpam.survey.service.AnswerService" >
        <property name="dao" ref="dAnswerDao" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    
    <!--           Controllers             -->
        
    <bean id="answerController" class="com.wadpam.survey.web.AnswerController">
        <property name="answerService" ref="answerService" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    
    <bean id="optionController" class="com.wadpam.survey.web.OptionController">
        <property name="optionService" ref="optionService" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    
    <bean id="questionController" class="com.wadpam.survey.web.QuestionController">
        <property name="questionService" ref="questionService" />
        <property name="surveyService" ref="surveyService" />
        <property name="optionController" ref="optionController" />
    </bean>
    
    <bean id="responseController" class="com.wadpam.survey.web.ResponseController">
        <property name="answerController" ref="answerController" />
        <property name="responseService" ref="responseService" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    
    <bean id="surveyController" class="com.wadpam.survey.web.SurveyController">
        <property name="versionController" ref="versionController" />
        <property name="surveyCrudService" ref="surveyCrudService" />
    </bean>
    
    <bean id="versionController" class="com.wadpam.survey.web.VersionController">
        <property name="versionService" ref="versionService" />
        <property name="surveyService" ref="surveyService" />
    </bean>
    
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy