34 lines
1.5 KiB
XML
34 lines
1.5 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||
|
|
||
|
<bean id="grailsApplication" class="org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean">
|
||
|
<description>Grails application factory bean</description>
|
||
|
<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
|
||
|
<property name="grailsResourceLoader" ref="grailsResourceLoader" />
|
||
|
</bean>
|
||
|
|
||
|
<bean id="pluginManager" class="org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean">
|
||
|
<description>A bean that manages Grails plugins</description>
|
||
|
<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
|
||
|
<property name="application" ref="grailsApplication" />
|
||
|
</bean>
|
||
|
|
||
|
<bean id="grailsConfigurator" class="org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator">
|
||
|
<constructor-arg>
|
||
|
<ref bean="grailsApplication" />
|
||
|
</constructor-arg>
|
||
|
<property name="pluginManager" ref="pluginManager" />
|
||
|
</bean>
|
||
|
|
||
|
<bean id="grailsResourceLoader" class="org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean" />
|
||
|
|
||
|
<bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter">
|
||
|
<property name="encoding">
|
||
|
<value>utf-8</value>
|
||
|
</property>
|
||
|
</bean>
|
||
|
|
||
|
<bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean" />
|
||
|
</beans>
|