PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/web-app/WEB-INF/applicationContext.xml

http://github.com/jdmr/mateo
XML | 33 lines | 28 code | 5 blank | 0 comment | 0 complexity | b1ad59a36f0791875d249380457c1f9d MD5 | raw file
 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       xsi:schemaLocation="
 5http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
 6
 7	<bean id="grailsApplication" class="org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean">
 8		<description>Grails application factory bean</description>
 9		<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
10		<property name="grailsResourceLoader" ref="grailsResourceLoader" />
11	</bean>
12
13	<bean id="pluginManager" class="org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean">
14		<description>A bean that manages Grails plugins</description>
15		<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
16		<property name="application" ref="grailsApplication" />
17	</bean>
18
19	<bean id="grailsConfigurator" class="org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator">
20		<constructor-arg>
21			<ref bean="grailsApplication" />
22		</constructor-arg>
23		<property name="pluginManager" ref="pluginManager" />
24	</bean>
25
26	<bean id="grailsResourceLoader" class="org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean" />
27
28	<bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter">
29		<property name="encoding">
30			<value>utf-8</value>
31		</property>
32	</bean>
33</beans>