2012-03-01 23:51:12 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2012-03-08 01:10:59 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
2012-03-09 22:37:26 +00:00
|
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:task="http://www.springframework.org/schema/task"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd">
|
2012-03-01 23:51:12 +00:00
|
|
|
|
2012-03-03 17:29:31 +00:00
|
|
|
|
2012-03-09 22:37:26 +00:00
|
|
|
<context:component-scan base-package="de.ctdo.bunti"/>
|
|
|
|
|
|
|
|
<!-- Configures the @Controller programming model -->
|
|
|
|
<mvc:annotation-driven />
|
|
|
|
|
|
|
|
<!-- Forwards requests to the "/" resource to the "welcome" view -->
|
|
|
|
<mvc:view-controller path="/" view-name="index"/>
|
|
|
|
|
|
|
|
<!-- Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${webappRoot}/resources/ directory -->
|
|
|
|
<mvc:resources mapping="/resources/**" location="/resources/" />
|
|
|
|
|
2012-03-07 18:21:53 +00:00
|
|
|
|
|
|
|
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
|
|
|
<property name="prefix" value="/WEB-INF/jsp/" />
|
|
|
|
<property name="suffix" value=".jsp" />
|
|
|
|
</bean>
|
2012-03-06 23:41:24 +00:00
|
|
|
|
2012-03-09 22:37:26 +00:00
|
|
|
<task:annotation-driven scheduler="myScheduler"/>
|
|
|
|
<task:scheduler id="myScheduler" pool-size="3"/>
|
2012-03-06 23:41:24 +00:00
|
|
|
|
2012-03-08 01:10:59 +00:00
|
|
|
|
2012-03-09 22:37:26 +00:00
|
|
|
<bean id="propertyPlaceholder" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
|
|
<property name="location" value="classpath:bunti.properties"/>
|
|
|
|
</bean>
|
2012-03-07 18:21:53 +00:00
|
|
|
|
2012-03-09 22:37:26 +00:00
|
|
|
<bean id="dmxMixer" class="de.ctdo.bunti.dmx.DMXMixerImpl">
|
|
|
|
<property name="artNetDeviceAddress" value="${artnet.deviceAddress}"/>
|
|
|
|
</bean>
|
2012-03-07 18:21:53 +00:00
|
|
|
|
2012-03-09 22:37:26 +00:00
|
|
|
<!--<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean" />-->
|
|
|
|
<bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter" />
|
|
|
|
|
2012-03-01 23:51:12 +00:00
|
|
|
</beans>
|