META-INF.spring.batch.servlet.manager.controller-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <context:annotation-config /> <bean class="org.springframework.batch.admin.web.JobController" /> <bean class="org.springframework.batch.admin.web.FileController" /> <bean class="org.springframework.batch.admin.web.StepExecutionController" /> <bean class="org.springframework.batch.admin.web.JobExecutionController" /> <!-- Override the location of the resource descriptors for the home page --> <util:properties id="defaultResources" location="classpath:/org/springframework/batch/admin/web/manager/html-resources.properties" /> <util:properties id="jsonResources" location="classpath:/org/springframework/batch/admin/web/manager/json-resources.properties" /> <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basenames"> <list> <value>org/springframework/batch/admin/web/manager/html-resources</value> <value>org/springframework/batch/admin/web/manager/json-resources</value> </list> </property> </bean> <bean id="objectMapper" class="org.codehaus.jackson.map.ObjectMapper"/> </beans>