This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shared.xml
75 lines (54 loc) · 2.74 KB
/
shared.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<context:component-scan base-package="org.greengin.nquireit.controllers"/>
<context:component-scan base-package="com.mangofactory.jsonview"/>
<bean id="templateResolver"
class="org.thymeleaf.templateresolver.ServletContextTemplateResolver">
<property name="prefix" value="/WEB-INF/templates/"/>
<property name="suffix" value=".html"/>
</bean>
<bean id="templateEngine"
class="org.thymeleaf.spring4.SpringTemplateEngine">
<property name="templateResolver" ref="templateResolver"/>
</bean>
<bean class="org.thymeleaf.spring4.view.ThymeleafViewResolver">
<property name="templateEngine" ref="templateEngine"/>
<property name="order" value="1"/>
<property name="viewNames" value="*"/>
</bean>
<bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor "/>
<bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="10000000"/>
</bean>
<!-- Do we need "filterDao" here? -->
<bean id="filterDao"
class="org.greengin.nquireit.dao.FilterDao">
</bean>
<bean id="roleDao"
class="org.greengin.nquireit.dao.RoleDao">
</bean>
<bean id="subscriptionManager"
class="org.greengin.nquireit.logic.users.SubscriptionManagerBean">
</bean>
<bean id="fileManager"
class="org.greengin.nquireit.logic.data.FileManagerBean">
<property name="basePath" value="files"/>
</bean>
<bean id="logManager"
class="org.greengin.nquireit.logic.log.LogManagerBean">
</bean>
<bean id="senseItOperations"
class="org.greengin.nquireit.logic.project.senseit.transformations.SenseItOperations">
</bean>
<bean class="com.mangofactory.jsonview.JsonViewSupportFactoryBean"/>
<bean id="objectMapper" class="org.greengin.nquireit.json.JacksonObjectMapper"/>
<bean id="context" class="org.greengin.nquireit.logic.ContextBean">
<property name="httpProxyHost" value="${server.proxyHost}"/>
<property name="httpProxyPort" value="${server.proxyPort}"/>
</bean>
<bean id="starter" init-method="start" class="org.greengin.nquireit.logic.update.ModelUpdaterBean" lazy-init="false"/>
</beans>