Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xmlns:context="http://www.springframework.org/schema/context"
5
	xmlns:cxf="http://cxf.apache.org/core"
6
	xmlns:jaxws="http://cxf.apache.org/jaxws"
7
	xmlns:p="http://http://www.springframework.org/schema/p"
8
	xmlns:template="http://dnetlib.eu/springbeans/template"
9
	xmlns:t="http://dnetlib.eu/springbeans/t"
10
	xsi:schemaLocation="
11
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
12
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
13
        http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
14
        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
15
        http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd"
16
	default-autowire="no">
17
		
18
	<!-- BASE -->	
19
	<bean id="baseAction" class="gr.uoa.di.validatorweb.actions.BaseValidatorAction" abstract="true" scope="prototype">
20
		<property name="valAdminEmail" value="${services.validator.adminEmail}" />
21
		<property name="valBaseUrl" value="${services.validator.baseUrl}" />
22
		<property name="emailer" ref="emailer" />
23
<!-- 		<property name="repoAPI" ref="repoAPI" /> -->
24
		<property name="repoAPI" ref="openaire.repositoryFactory" />
25
		<property name="userAPI" ref="userAPI" />
26
		<property name="repoMode" value="${services.validator.mode.repo}" />
27
		<property name="userMode" value="${services.validator.mode.user}" />
28
		<property name="dbMode" value="${services.validator.mode.db}" />
29
		<property name="openAIREValidator" ref="openaireValidator" />
30
	</bean>		
31
	<bean id="springManagedBugReporter" class="gr.uoa.di.validatorweb.email.BugReporter" parent="baseAction" scope="prototype"/>
32
	<bean id="springManagedDummy" class="gr.uoa.di.validatorweb.actions.DummyAction" parent="baseAction" scope="prototype"/>
33
	<bean id="go2registration" class="gr.uoa.di.validatorweb.actions.DummyAction" parent="baseAction" scope="prototype"/>
34
	<bean id="springManagedIdentifyRepo" class="gr.uoa.di.validatorweb.actions.IdentifyRepository" parent="baseAction" scope="prototype"/>
35
	
36
	<!-- LOGIN -->
37
	<bean id="springManagedLoginPage" class="gr.uoa.di.validatorweb.actions.login.LoginPage" parent="baseAction" scope="prototype"/>
38
	<bean id="springManagedLogin" class="gr.uoa.di.validatorweb.actions.login.Login" parent="baseAction"  scope="prototype"/>
39
	<bean id="springManagedsendPassword" class="gr.uoa.di.validatorweb.actions.login.SendPassword" parent="baseAction"  scope="prototype"/>
40
	<bean id="springManagedresetPassword" class="gr.uoa.di.validatorweb.actions.login.ResetPassword" parent="baseAction"  scope="prototype"/>
41
	<bean id="springManagedlogout" class="gr.uoa.di.validatorweb.actions.login.Logout" parent="baseAction"  scope="prototype"/>
42
	<bean id="springManagedPortalLogin" class="gr.uoa.di.validatorweb.actions.login.PortalLogin" parent="baseAction" scope="prototype">
43
		<property name="key" value="${services.validator.portallogin.key}" />
44
	</bean>
45
	<bean id="springManagedForgotPassword" class="gr.uoa.di.validatorweb.actions.login.ForgotPasswordPage" parent="baseAction" scope="prototype"/>
46
	<bean id="springManagedAdminInterceptor" class="gr.uoa.di.validatorweb.actions.login.AdminInterceptor">
47
		<property name="userAPI" ref="userAPI"/>
48
		<property name="repoRegistrationOverride" value="${services.validator.repoRegistration.override}" />
49
	</bean>
50

    
51
	<!-- BROWSE JOBS -->
52
	<bean id="springManagedprepareSummary" class="gr.uoa.di.validatorweb.actions.browsejobs.PrepareSummary" parent="baseAction"  scope="prototype"/>
53
	<bean id="springManagedshowValErrs" class="gr.uoa.di.validatorweb.actions.browsejobs.FetchValidationErrors" parent="baseAction"  scope="prototype"/>
54
	<bean id="springManagedprepareJobBrowsing" class="gr.uoa.di.validatorweb.actions.browsejobs.PrepareJobBrowsing" parent="baseAction"  scope="prototype"/>
55
	<bean id="springManagedDatabaseCurator" class="gr.uoa.di.validatorweb.actions.browsejobs.DatabaseCurator" parent="baseAction" scope="prototype"/>
56

    
57
	<!-- USERS -->
58
	<bean id="springManagedRegister" class="gr.uoa.di.validatorweb.actions.users.Register" parent="baseAction" scope="prototype"/>
59
	<bean id="springManagedactivateAccount" class="gr.uoa.di.validatorweb.actions.users.ActivateAccount" parent="baseAction" scope="prototype"/>
60
	<bean id="springManagededitUser" class="gr.uoa.di.validatorweb.actions.users.EditUser" parent="baseAction" scope="prototype"/>
61
	
62
	<!-- ADMIN RULES -->
63
	<bean id="springManagedpopulateRuleCategories" class="gr.uoa.di.validatorweb.actions.admin.rules.PopulateRuleCategories" parent="baseAction" scope="prototype"/>
64
	<bean id="springManageddeleteRule" class="gr.uoa.di.validatorweb.actions.admin.rules.DeleteRule" parent="baseAction" scope="prototype"/>
65
	<bean id="springManagedprepareAddRule" class="gr.uoa.di.validatorweb.actions.admin.rules.PrepareAddRule" parent="baseAction" scope="prototype"/>
66
	<bean id="springManagedrenewRule" class="gr.uoa.di.validatorweb.actions.admin.rules.EditRule" parent="baseAction" scope="prototype"/>
67
	<bean id="springManagedaddRule" class="gr.uoa.di.validatorweb.actions.admin.rules.AddRule" parent="baseAction" scope="prototype"/>
68
	<bean id="springManagedpopulateRuleList" class="gr.uoa.di.validatorweb.actions.admin.rules.PopulateRuleList" parent="baseAction" scope="prototype"/>
69
	<bean id="springManagedprepareEditRule" class="gr.uoa.di.validatorweb.actions.admin.rules.PrepareEditRule" parent="baseAction" scope="prototype"/>
70
	
71
	<!-- ADMIN RULESETS -->
72
	<bean id="springManageddeleteRuleSet" class="gr.uoa.di.validatorweb.actions.admin.rulesets.DeleteRuleSet" parent="baseAction" scope="prototype"/>
73
	<bean id="springManagedcreateRuleSet" class="gr.uoa.di.validatorweb.actions.admin.rulesets.CreateRuleSet" parent="baseAction" scope="prototype"/>
74
	<bean id="springManagedgetRuleSetsForDeletion" class="gr.uoa.di.validatorweb.actions.admin.rulesets.GetRuleSets" parent="baseAction" scope="prototype"/>
75
	<bean id="springManagedfetchRuleDescriptions" class="gr.uoa.di.validatorweb.actions.admin.rulesets.FetchRuleDescriptions" parent="baseAction"  scope="prototype"/>
76
	<bean id="springManagedgetRulesForSet" class="gr.uoa.di.validatorweb.actions.admin.rulesets.GetRules" parent="baseAction" scope="prototype"/>
77
	<bean id="springManagedgetRuleSets" class="gr.uoa.di.validatorweb.actions.admin.rulesets.GetRuleSets" parent="baseAction" scope="prototype"/>
78

    
79

    
80
	<!-- COMP TESTS -->
81
	<bean id="springManagedPopulateRepoSets" class="gr.uoa.di.validatorweb.actions.compTest.PopulateRepositorySets" parent="baseAction" scope="prototype"></bean>
82
	<bean id="springManagedPopulateList" class="gr.uoa.di.validatorweb.actions.compTest.PopulateRules"  parent="baseAction" scope="prototype"/>
83
	<bean id="springManagedValidateRules" class="gr.uoa.di.validatorweb.actions.compTest.ValidateRules" parent="baseAction" scope="prototype"/>
84
	<bean id="springManagedScore" class="gr.uoa.di.validatorweb.actions.compTest.ScorePage" parent="baseAction" scope="prototype"/>
85
		
86
	<!-- REGISTRATION DNET -->
87
	<bean id="springManagedpopulateRepoList" class="gr.uoa.di.validatorweb.actions.registration.dnet.PopulateRepoList" parent="baseAction" scope="prototype"/>
88
	<bean id="springManagedpopulateDoarList" class="gr.uoa.di.validatorweb.actions.registration.dnet.PopulateDoarList" parent="baseAction" scope="prototype"/>
89
	<bean id="springManagedactivateRepo" class="gr.uoa.di.validatorweb.actions.registration.dnet.ActivateRepo" parent="baseAction"  scope="prototype"/>
90
	<bean id="springManagedprepareRepoRegistration" class="gr.uoa.di.validatorweb.actions.registration.dnet.PrepareRepoRegistration" parent="baseAction" scope="prototype">
91
		<property name="vocabularyLoader" ref="vocabularyLoader" />
92
	</bean>
93
	<bean id="springManagedprepareRepoEditing" class="gr.uoa.di.validatorweb.actions.registration.dnet.PrepareRepoEditing" parent="baseAction" scope="prototype">
94
		<property name="vocabularyLoader" ref="vocabularyLoader" />
95
	</bean>
96
	<bean id="springManagedRepoRegistration" class="gr.uoa.di.validatorweb.actions.registration.dnet.RepoRegistration" parent="baseAction"  scope="prototype">
97
		<property name="aggregatorName" value="${services.validator.aggregator.name}" />
98
		<property name="vocabularyLoader" ref="vocabularyLoader"></property>
99
	</bean>
100
	
101
	<!-- REGISTRATION LOCAL -->
102
	<bean id="springManagedregisterRepoLocal" class="gr.uoa.di.validatorweb.actions.registration.local.RepoRegisterLocal" parent="baseAction"  scope="prototype"/>
103
	<bean id="springManagedprepareRepoRegistrationLocal" class="gr.uoa.di.validatorweb.actions.registration.local.PrepareRepoRegisterLocal" parent="baseAction" scope="prototype"/>
104

    
105
	<!-- FEEDBACK/HELP -->
106
	<bean id="springManagedsendFeedback" class="gr.uoa.di.validatorweb.actions.feedback.SendFeedback" parent="baseAction" scope="prototype"/>
107
	<bean id="springManagedFeedback" class="gr.uoa.di.validatorweb.actions.feedback.FeedBackPage" parent="baseAction" scope="prototype" />
108
	<bean id="springManagedHelp" class="gr.uoa.di.validatorweb.actions.help.HelpPage" parent="baseAction" scope="prototype" />
109

    
110
	
111
</beans>
    (1-1/1)