2011년 8월 24일 수요일
함수명파라미터, 인터셉터, FLEX 설정 셋팅-1(context-msg-properties.xml)
<?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:config="http://www.anyframejava.org/schema/service"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames">
<list>
<value>/WEB-INF/classes/config/message/secframework/msg/message-secframework</value>
<value>/WEB-INF/classes/config/message/secframework/page/message-secframework-page</value>
<value>/WEB-INF/classes/config/message/message-category</value>
<!-- AnyFrame영역 그대로 두시오. -->
<value>anyframe/core/properties/messages/properties</value>
<value>anyframe/core/idgen/messages/idgeneration</value>
<value>anyframe/core/query/messages/query</value>
<value>anyframe/core/process/messages/process</value>
<value>anyframe/core/adaptormanager/messages/adaptormanager</value>
<value>anyframe/web/springmvc/messages/springmvc</value>
<!-- AnyFrame영역 그대로 두시오. -->
<!-- Intern -->
<value>/WEB-INF/classes/config/message/dmce/msg/itn/message-itn</value>
<value>/WEB-INF/classes/config/message/dmce/page/itn/message-itn-page</value>
<!-- Edu -->
<value>/WEB-INF/classes/config/message/dmce/msg/edu/message-edu</value>
<value>/WEB-INF/classes/config/message/dmce/page/edu/message-edu-page</value>
<!-- main -->
<value>/WEB-INF/classes/config/message/dmce/msg/common/message-common</value>
<value>/WEB-INF/classes/config/message/dmce/page/common/message-common-page</value>
<!-- Hsm -->
<value>/WEB-INF/classes/config/message/dmce/msg/hsm/message-hsm</value>
<value>/WEB-INF/classes/config/message/dmce/page/hsm/message-hsm-page</value>
<!-- cmh -->
<value>/WEB-INF/classes/config/message/dmce/msg/cmh/message-cmh</value>
<value>/WEB-INF/classes/config/message/dmce/page/cmh/message-cmh-page</value>
<!-- cmn -->
<value>/WEB-INF/classes/config/message/dmce/msg/cmn/message-cmn</value>
<value>/WEB-INF/classes/config/message/dmce/page/cmn/message-cmn-page</value>
<value>/WEB-INF/classes/config/message/dmce/msg/eln/message-eln</value>
<value>/WEB-INF/classes/config/message/dmce/page/eln/message-eln-page</value>
<!-- Spring Security message source -->
<value>anyframe/iam/security</value>
</list>
</property>
<property name="cacheSeconds" value="3"/>
<property name="defaultEncoding" value="UTF-8"/>
</bean>
<bean id="secfw.messageService" class="com.sds.secframework.common.service.MessageService">
<property name="messageSource" ref="messageSource"/>
</bean>
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<description>
<![CDATA[
]]>
</description>
<property name="locations">
<list>
<!-- value>classpath:common-jdbc.properties</value-->
<value>/WEB-INF/classes/config/**/property/*.properties</value>
</list>
</property>
</bean>
<bean id="secfw.propertySource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames">
<list>
<value>/WEB-INF/classes/config/property/property-secframework</value>
<value>/WEB-INF/classes/config/property/property-common</value>
<value>/WEB-INF/classes/config/property/property-itn</value>
<value>/WEB-INF/classes/config/property/property-edu</value>
<value>/WEB-INF/classes/config/property/property-smn</value>
<value>/WEB-INF/classes/config/property/property-uln</value>
<value>/WEB-INF/classes/config/property/property-edu</value>
<value>/WEB-INF/classes/config/property/property-fre</value>
<value>/WEB-INF/classes/config/property/property-thb</value>
<value>/WEB-INF/classes/config/property/property-edp</value>
<value>/WEB-INF/classes/config/property/property-rds</value>
<value>/WEB-INF/classes/config/property/property-sot</value>
<value>/WEB-INF/classes/config/property/property-sup</value>
<value>/WEB-INF/classes/config/property/property-hsm</value>
<value>/WEB-INF/classes/config/property/property-cmn</value>
<value>/WEB-INF/classes/config/property/property-cmh</value>
</list>
</property>
<property name="cacheSeconds" value="3"/>
<property name="defaultEncoding" value="UTF-8"/>
</bean>
<bean id="secfw.propertyService" class="com.sds.secframework.common.service.PropertyService">
<property name="propertySource" ref="secfw.propertySource" />
</bean>
<bean id="configurableCallBack" scope="prototype" class="anyframe.common.config.ConfigurableCallback" />
</beans>
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기