2009-04-02 00:53:45 +08:00
|
|
|
// Place your Spring DSL code here
|
|
|
|
beans = {
|
2014-02-25 23:46:06 +08:00
|
|
|
}
|
2019-01-10 04:04:30 +08:00
|
|
|
/*
|
|
|
|
Add back applicationContext.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.grails.commons.GrailsApplicationFactoryBean">
|
|
|
|
<description>Grails application factory bean</description>
|
|
|
|
<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="pluginManager" class="org.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.grails.commons.spring.GrailsRuntimeConfigurator">
|
|
|
|
<constructor-arg>
|
|
|
|
<ref bean="grailsApplication" />
|
|
|
|
</constructor-arg>
|
|
|
|
<property name="pluginManager" ref="pluginManager" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
*/
|