...
Declare the UCD-implemented Rice services using either of the following methods:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<param name="rice.kr.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/ |
...
krad/config/ucd- |
...
krad-service. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
...
<property name="additionalSpringFiles">
<value>${rice.additionalSpringFiles}</value>
</property>
...
</bean>
|
...
borderStyle | solid |
---|---|
title | classpath:edu/ucdavis/myapp/config/rice-common.xml |
...
xml</param> <param name="rice.kew.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml</param> |
- If you're using Spring's
ContextLoaderListener
, declare them inweb.xml
Code Block borderStyle solid title src/main/webapp/WEB-INF/web.xml <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value> ... classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kimkrad-service.xml classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml classpath:edu/ucdavis/kuali/rice/kns/config/ucd-kns-service.xml ... </param-value> </context-param>
...