<?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
http://www.anyframejava.org/schema/service
http://www.anyframejava.org/schema/service/anyframe-core-service-2.0.xsd">
<!-- 게시판 관리 -->
<bean name="secfw.idGenerationServiceBBSMaster"
class="anyframe.core.idgen.impl.TableIdGenerationService"
destroy-method="destroy">
<property name="dataSource" ref="dataSourceForIdGen" />
<property name="strategy" ref="secfw.mixPrefix.Common" />
<config:configuration block-size="1" table="TB_COM_GENID"
key-table="SECFW.BBS_MASTER" />
</bean>
<!-- 게시내역 관리 -->
<bean name="secfw.idGenerationServiceBBSDetail"
class="anyframe.core.idgen.impl.TableIdGenerationService"
destroy-method="destroy">
<property name="dataSource" ref="dataSourceForIdGen" />
<property name="strategy" ref="secfw.mixPrefix.Common" />
<config:configuration block-size="1" table="TB_COM_GENID"
key-table="SECFW.BBS_DETAIL" />
</bean>
<!-- 파일관리 -->
<bean name="secfw.idGenerationServiceFile"
class="anyframe.core.idgen.impl.TableIdGenerationService"
destroy-method="destroy">
<property name="dataSource" ref="dataSourceForIdGen" />
<property name="strategy" ref="secfw.mixPrefix.Common" />
<config:configuration block-size="1" table="TB_COM_GENID"
key-table="SECFW.ATTACH_FILE" />
</bean>
<!-- 템플릿관리 -->
<bean name="secfw.idGen.template.replyService"
class="anyframe.core.idgen.impl.TableIdGenerationService"
destroy-method="destroy">
<property name="dataSource" ref="dataSourceForIdGen" />
<property name="strategy" ref="secfw.mixPrefix.Common" />
<config:configuration block-size="1" table="TB_COM_GENID"
key-table="SECFW.TEMPLATE.REPLY" />
</bean>
<bean name="secfw.idGen.template.noReplyService"
class="anyframe.core.idgen.impl.TableIdGenerationService"
destroy-method="destroy">
<property name="dataSource" ref="dataSourceForIdGen" />
<property name="strategy" ref="secfw.mixPrefix.Common" />
<config:configuration block-size="1" table="TB_COM_GENID"
key-table="SECFW.TEMPLATE.NOREPLY" />
</bean>
<!-- //템플릿관리 -->
<!-- MIX Strategy -->
<bean name="secfw.mixPrefix.Common"
class="anyframe.core.idgen.impl.strategy.MixPrefix">
<property name="prefix" value="_" />
<property name="cipers" value="10" />
<property name="fillChar" value="0" />
</bean>
</beans>
댓글 없음:
댓글 쓰기