60 lines
2.9 KiB
XML
60 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
|
xmlns:aop="http://www.springframework.org/schema/aop"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
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-3.0.xsd
|
|
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
|
|
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd
|
|
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd">
|
|
|
|
<!-- bean id="careerAlarmService" class="kr.co.i4way.task.controller.ScheduleTaskController"/>
|
|
<task:scheduler id="gsScheduler" pool-size="10"/>
|
|
<task:executor id="gsTaskExecuter" pool-size="10"/>
|
|
<task:annotation-driven executor="gsTaskExecuter" scheduler="gsScheduler"/-->
|
|
|
|
<context:component-scan base-package="kr.co.i4way" use-default-filters="false">
|
|
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
|
|
</context:component-scan>
|
|
|
|
<mvc:annotation-driven>
|
|
<mvc:argument-resolvers>
|
|
<bean class="kr.co.i4way.common.resolver.CustomMapArgumentResolver"></bean>
|
|
</mvc:argument-resolvers>
|
|
</mvc:annotation-driven>
|
|
|
|
<mvc:interceptors>
|
|
<mvc:interceptor>
|
|
<mvc:mapping path="/**"/>
|
|
<bean id="loggerInterceptor" class="kr.co.i4way.common.logger.LoggerInterceptor"></bean>
|
|
</mvc:interceptor>
|
|
</mvc:interceptors>
|
|
|
|
<aop:aspectj-autoproxy/>
|
|
<bean id="loggerAspect" class="kr.co.i4way.common.logger.LoggerAspect" />
|
|
|
|
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
|
|
|
|
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver">
|
|
<property name="order" value="0" />
|
|
</bean>
|
|
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView" />
|
|
<bean
|
|
class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="1"
|
|
p:viewClass="org.springframework.web.servlet.view.JstlView"
|
|
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp">
|
|
</bean>
|
|
<bean id="viewMappings" class="org.springframework.web.servlet.view.ResourceBundleViewResolver">
|
|
<property name="basename" value="config/jasperreports-views" />
|
|
<property name="order" value="1" />
|
|
</bean>
|
|
</beans>
|
|
|
|
|