You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.2 KiB
53 lines
2.2 KiB
9 years ago
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||
|
|
||
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
8 years ago
|
xmlns:context="http://www.springframework.org/schema/context"
|
||
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||
|
xsi:schemaLocation="
|
||
|
http://www.springframework.org/schema/beans
|
||
|
http://www.springframework.org/schema/beans/spring-beans.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">
|
||
|
|
||
|
<mvc:annotation-driven />
|
||
8 years ago
|
<context:component-scan base-package="org.libresonic.player.controller,
|
||
|
org.libresonic.player.validator,
|
||
|
org.libresonic.player.security"/>
|
||
9 years ago
|
|
||
|
|
||
|
<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
|
||
|
<property name="alwaysUseFullPath" value="true"/>
|
||
|
<property name="mappings">
|
||
|
<props>
|
||
|
<prop key="/podcast/**">podcastController</prop>
|
||
|
</props>
|
||
|
</property>
|
||
|
</bean>
|
||
|
|
||
|
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
|
||
9 years ago
|
<property name="basename" value="org.libresonic.player.i18n.ResourceBundle"/>
|
||
9 years ago
|
</bean>
|
||
|
|
||
9 years ago
|
<bean id="themeSource" class="org.libresonic.player.theme.LibresonicThemeSource">
|
||
|
<property name="basenamePrefix" value="org.libresonic.player.theme."/>
|
||
9 years ago
|
<property name="settingsService" ref="settingsService"/>
|
||
|
</bean>
|
||
|
|
||
9 years ago
|
<bean id="themeResolver" class="org.libresonic.player.theme.LibresonicThemeResolver">
|
||
9 years ago
|
<property name="securityService" ref="securityService"/>
|
||
|
<property name="settingsService" ref="settingsService"/>
|
||
|
</bean>
|
||
|
|
||
|
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||
|
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
|
||
|
<property name="prefix" value="/WEB-INF/jsp/"/>
|
||
|
<property name="suffix" value=".jsp"/>
|
||
|
</bean>
|
||
|
|
||
8 years ago
|
<bean class="org.libresonic.player.spring.LoggingExceptionResolver" />
|
||
|
|
||
9 years ago
|
</beans>
|