- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
57 lines
2.4 KiB
XML
57 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:task="http://www.springframework.org/schema/task"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
|
http://www.springframework.org/schema/util
|
|
http://www.springframework.org/schema/util/spring-util-4.0.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context-4.0.xsd
|
|
http://www.springframework.org/schema/task
|
|
http://www.springframework.org/schema/task/spring-task-3.0.xsd
|
|
">
|
|
|
|
<context:component-scan base-package="com.pms"></context:component-scan>
|
|
|
|
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
|
|
<property name="basenames">
|
|
<list>
|
|
<value>classpath:com/pms/message/message</value>
|
|
<value>classpath:com/pms/message/common</value>
|
|
</list>
|
|
</property>
|
|
<property name="cacheSeconds">
|
|
<value>60</value>
|
|
</property>
|
|
<property name="defaultEncoding" value="UTF-8"/>
|
|
</bean>
|
|
<bean id="localeResolver" class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
|
|
<property name="defaultLocale" value="ko"/>
|
|
</bean>
|
|
|
|
<bean id="localeChangeInterceptor" class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
|
|
<property name="paramName" value="lang" />
|
|
</bean>
|
|
|
|
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
|
<property name="prefix" value="/WEB-INF/view"/>
|
|
<property name="suffix" value=".jsp"/>
|
|
<property name="order" value="1"/>
|
|
</bean>
|
|
<bean id="jacksonMessageConverter" class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter"></bean>
|
|
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
|
|
<property name="messageConverters">
|
|
<list>
|
|
<ref bean="jacksonMessageConverter"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
<task:scheduler id="gsScheduler" pool-size="10" />
|
|
<task:annotation-driven scheduler="gsScheduler" />
|
|
</beans>
|
|
|