1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <!-- |
---|
4 | IBIS-PH View System's "publications" module related Spring properties. These |
---|
5 | properties are all specific to the "publication" type requests. These properties |
---|
6 | include publication specific resources, controllers, and views. |
---|
7 | --> |
---|
8 | |
---|
9 | <beans default-lazy-init="false" default-autowire="no" |
---|
10 | xmlns="http://www.springframework.org/schema/beans" |
---|
11 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
12 | xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" |
---|
13 | > |
---|
14 | |
---|
15 | <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> |
---|
16 | <bean id="Publications.HTMLContent.XML.Path" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> |
---|
17 | <property name="targetObject" ref="Common.Context.Servlet"/> |
---|
18 | <property name="targetMethod" value="getRealPath"/> |
---|
19 | <property name="arguments"><list><value>xml/publications/html_content</value></list></property> |
---|
20 | </bean> |
---|
21 | <bean id="Publications.Introduction.XML.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
22 | <constructor-arg ref="Publications.HTMLContent.XML.Path"/> |
---|
23 | <constructor-arg value="Introduction.xml"/> |
---|
24 | </bean> |
---|
25 | <bean id="Publications.List.XML.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
26 | <constructor-arg ref="Common.Webapp.RootPath"/> |
---|
27 | <constructor-arg value="xml/publications/OPHAPubsList.xml"/> |
---|
28 | </bean> |
---|
29 | |
---|
30 | |
---|
31 | <bean id="Publications.HTMLContent.ModelMap" class="org.ibisph.systemid.modelmap.SystemIDFromHTTPRequestEndOfPathInfo" parent="Common.XMLModelMap.CommonProperties"> |
---|
32 | <property name="FilePath" ref="Publications.HTMLContent.XML.Path"/> |
---|
33 | </bean> |
---|
34 | <bean id="Publications.DefaultHTMLContent.ModelMap" class="org.ibisph.modelmap.DefaultModelIfNullModel" parent="Common.XMLModelMap.CommonProperties"> |
---|
35 | <property name="defaultModelIfNullModel" ref="Publications.Introduction.XML.SystemID"/> |
---|
36 | </bean> |
---|
37 | |
---|
38 | <bean id="Publications.List.ModelMap" class="org.ibisph.modelmap.SimpleModelMap" parent="Common.XMLModelMap.CommonProperties"> |
---|
39 | <property name="model" ref="Publications.List.XML.SystemID"/> |
---|
40 | </bean> |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | <!-- C O N T R O L L E R S --> |
---|
45 | <bean id="Publications.HTMLContent.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController"> |
---|
46 | <property name="modelMapList"> |
---|
47 | <list> |
---|
48 | <ref bean="Publications.HTMLContent.ModelMap"/> |
---|
49 | <ref bean="Publications.DefaultHTMLContent.ModelMap"/> |
---|
50 | <ref bean="Common.ModifiedDateFromFileSystemID.ModelMap"/> |
---|
51 | <ref bean="Common.HTTPRequestParameters.ModelMap"/> |
---|
52 | <ref bean="Common.WebAppURLContextPrefixFromHTTPRequest.ModelMap"/> |
---|
53 | </list> |
---|
54 | </property> |
---|
55 | <property name="view" ref="Publications.HTMLContent.View"/> |
---|
56 | </bean> |
---|
57 | <bean id="Publications.ChronologicalIndex.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController"> |
---|
58 | <property name="modelMapList"> |
---|
59 | <list> |
---|
60 | <ref bean="Publications.List.ModelMap"/> |
---|
61 | <ref bean="Common.ModifiedDateFromFileSystemID.ModelMap"/> |
---|
62 | <ref bean="Common.HTTPRequestParameters.ModelMap"/> |
---|
63 | <ref bean="Common.WebAppURLContextPrefixFromHTTPRequest.ModelMap"/> |
---|
64 | </list> |
---|
65 | </property> |
---|
66 | <property name="view" ref="Publications.ChronologicalIndex.View"/> |
---|
67 | </bean> |
---|
68 | <bean id="Publications.TopicalIndex.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController"> |
---|
69 | <property name="modelMapList"> |
---|
70 | <list> |
---|
71 | <ref bean="Publications.List.ModelMap"/> |
---|
72 | <ref bean="Common.ModifiedDateFromFileSystemID.ModelMap"/> |
---|
73 | <ref bean="Common.HTTPRequestParameters.ModelMap"/> |
---|
74 | <ref bean="Common.WebAppURLContextPrefixFromHTTPRequest.ModelMap"/> |
---|
75 | </list> |
---|
76 | </property> |
---|
77 | <property name="view" ref="Publications.TopicalIndex.View"/> |
---|
78 | </bean> |
---|
79 | |
---|
80 | |
---|
81 | |
---|
82 | <!-- V I E W R E S O U R C E S --> |
---|
83 | <bean id="Publications.HTMLContent.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
84 | <constructor-arg ref="Common.Webapp.RootPath"/> |
---|
85 | <constructor-arg value="xslt/html/publications/HTMLContentPage.xslt"/> |
---|
86 | </bean> |
---|
87 | <bean id="Publications.ChronologicalIndex.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
88 | <constructor-arg ref="Common.Webapp.RootPath"/> |
---|
89 | <constructor-arg value="xslt/html/publications/index/chronological/ChronologicalPage.xslt"/> |
---|
90 | </bean> |
---|
91 | <bean id="Publications.TopicalIndex.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID"> |
---|
92 | <constructor-arg ref="Common.Webapp.RootPath"/> |
---|
93 | <constructor-arg value="xslt/html/publications/index/topical/TopicalPage.xslt"/> |
---|
94 | </bean> |
---|
95 | |
---|
96 | |
---|
97 | <!-- V I E W S --> |
---|
98 | <bean id="Publications.HTMLContent.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
99 | <constructor-arg ref="Publications.HTMLContent.XSLT.SystemID"/> |
---|
100 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
101 | </bean> |
---|
102 | <bean id="Publications.ChronologicalIndex.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
103 | <constructor-arg ref="Publications.ChronologicalIndex.XSLT.SystemID"/> |
---|
104 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
105 | </bean> |
---|
106 | <bean id="Publications.TopicalIndex.View" class="org.ibisph.xml.springmvc.XSLTXMLTransformationView"> |
---|
107 | <constructor-arg ref="Publications.TopicalIndex.XSLT.SystemID"/> |
---|
108 | <constructor-arg ref="Common.XSLT.Transformation"/> |
---|
109 | </bean> |
---|
110 | |
---|
111 | </beans> |
---|
112 | |
---|