1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
3 | xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
|
---|
4 |
|
---|
5 | <bean id="exceptionHandler" class="gov.va.med.edp.web.handler.ExceptionResolver">
|
---|
6 | <property name="defaultErrorView" value="exception"/>
|
---|
7 | <property name="exceptionMappings">
|
---|
8 | <props>
|
---|
9 | <prop key="gov.va.med.edp.rpc.VistaLinkRpcPermissionDeniedException">vistaLinkPermissionDeniedView
|
---|
10 | </prop>
|
---|
11 | </props>
|
---|
12 | </property>
|
---|
13 | </bean>
|
---|
14 |
|
---|
15 | <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
|
---|
16 | <property name="basename" value="strings"/>
|
---|
17 | </bean>
|
---|
18 |
|
---|
19 | <bean id="handlerMapping" class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/>
|
---|
20 |
|
---|
21 | <!-- view names in views.xml -->
|
---|
22 | <bean id="viewResolver" class="org.springframework.web.servlet.view.XmlViewResolver">
|
---|
23 | <property name="order" value="0"/>
|
---|
24 | </bean>
|
---|
25 |
|
---|
26 | <!-- if not found in views.xml default to looking for a JSP -->
|
---|
27 | <bean id="internalResourceViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
---|
28 | <property name="order" value="1"/>
|
---|
29 | <property name="prefix" value="/WEB-INF/jsp/"/>
|
---|
30 | <property name="suffix" value=".jsp"/>
|
---|
31 | </bean>
|
---|
32 |
|
---|
33 | <!-- controllers with bean name mappings -->
|
---|
34 | <bean name="/about.html" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/>
|
---|
35 |
|
---|
36 | <bean name="/tracking.html" class="gov.va.med.edp.web.controller.ClientVersionSynchronizationController">
|
---|
37 | <property name="clientArtifactId" value="edis-tracking-ui-main"/>
|
---|
38 | <property name="viewName" value="tracking"/>
|
---|
39 | </bean>
|
---|
40 |
|
---|
41 | <bean name="/board.html" class="gov.va.med.edp.web.controller.ClientVersionSynchronizationController">
|
---|
42 | <property name="clientArtifactId" value="edis-tracking-ui-bigboard"/>
|
---|
43 | <property name="viewName" value="board"/>
|
---|
44 | </bean>
|
---|
45 |
|
---|
46 | <bean name="/login.html" class="gov.va.med.edp.web.controller.LoginController">
|
---|
47 | <property name="vistaAccounts" ref="vistaAccounts"/>
|
---|
48 | </bean>
|
---|
49 |
|
---|
50 | <bean name="/logout.html" class="gov.va.med.edp.web.controller.LogoutController"/>
|
---|
51 |
|
---|
52 | <bean name="/tracking.xml" class="gov.va.med.edp.web.controller.TrackingController">
|
---|
53 | <property name="trackingDao" ref="trackingDao"/>
|
---|
54 | </bean>
|
---|
55 |
|
---|
56 | <bean name="/board.xml" class="gov.va.med.edp.web.controller.TrackingController">
|
---|
57 | <property name="trackingDao" ref="bigBoardDao"/>
|
---|
58 | <property name="serverPackageVersionDao" ref="serverPackageVersionDao"/>
|
---|
59 | </bean>
|
---|
60 |
|
---|
61 | <bean name="/export.csv" class="gov.va.med.edp.web.controller.ExportReportController">
|
---|
62 | <property name="trackingDao" ref="trackingDao"/>
|
---|
63 | </bean>
|
---|
64 |
|
---|
65 | </beans>
|
---|