com.posco.reuse.activity
Class GlueMessageCreate
java.lang.Object
com.poscoict.glueframework.biz.activity.GlueActivity<GlueContext>
com.posco.reuse.activity.GlueMessageCreate
public class GlueMessageCreate
- extends GlueActivity<GlueContext>
GlueMessageCreate´Â reuse Activity·Î½á parserµÈ Message°á°ú¸¦ ÀÌ¿ëÇÏ¿© »õ·Î¿î Message TC ȤÀº FileÀ» ¸¸µå´Â ¿ªÈ°À» ÇÑ´Ù. »õ·Î¿î GlueMessage°´Ã¼¸¦ »ý¼ºÇϱâ À§ÇÏ¿©
GlueCreateMessage ActivityÀÇ Attribute¸¦ ÀÌ¿ëÇÏ¿© ÇØ´ç °´Ã¼¸¦ »ý¼ºÇÑ´Ù. »ý¼ºµÈ GlueMessage°´Ã¼¸¦ ÀÌ¿ëÇÏ¿© »õ·Î¿î »ý¼ºÇÏ°íÀÚ ÇÏ´Â Message´Â LayoutManager¿¡ Á¤ÀǵǾî ÀÖ´Â LayoutÀ» ±Ù°Å·Î
message¸¦ StringÀ» »ý¼ºÇϰųª FileÀ» »ý¼ºÇÑ´Ù.
Activity Property
- layout : (Çʼö) applicationContext.xmlÀÇ GlueLayoutManager bean id.
- result-key : (Çʼö) Context¿¡ MapÇüÅ·Π°á°ú¸¦ ´ãÀ» Key.
TCÀÏ °æ¿ì, Data±¸Á¶´Â Map < String, List < String > > .
Áï, Map¿¡´Â ArrayList°¡ ´ã°Ü ÀÖ°í ±× Key°ªÀº TCIDÀÌ´Ù.
ÇϳªÀÇ °á°ú ¶Ç´Â °°Àº Á¾·ùÀÇ ¿©·¯°³ÀÇ °á°ú°¡ ArrayList·Î ÀúÀåµÊ.
FileÀÏ °æ¿ì, Data±¸Á¶ String.
»ý¼ºµÈ ÆÄÀÏÀÇ °æ·Î.
- msg-id : (Çʼö) »ý¼ºÇÏ°íÀÚ ÇÏ´Â TC ID.
ex). MSGFW002, MSGFW003 µî
- msg-type : (Çʼö) TC ȤÀº FileÀ» ¼³Á¤ÇÏ°íÀÚ ÇÒ¶§
ex). TCÀÏ °æ¿ì 'tc', FileÀÏ °æ¿ì 'file'
- attr-cnt : (Çʼö) »õ·Î ¸¸µé¾îÁú TCÀÇ Layout¿¡ attributeÀÇ °¹¼ö
- attr-1 ~ n : (Çʼö) »õ·Î ¸¸µé¾îÁú TCÀÇ Layout¿¡ attributeÀÇ °ª (type|condition@
ex). C|MSGFW002, M|DEPTNO, R|sdd_result@EMPNO µî
- file-name : (¼±ÅÃ) msg typeÀÌ ÆÄÀÏÀÏ °æ¿ìÀÇ ÆÄÀÏ À̸§
- msgmulti-type : (¼±ÅÃ) ÇÑ°³ÀÇ Àü¹®ÀÇ ´ëÇؼ ´Ù¼öÀÇ Àü¹®À» »ç¿ëÇÒ °æ¿ì
ex). ÇÑ°³ÀÏ °æ¿ì 'single' ´Ù¼öÀÏ °æ¿ì 'multi' (default : 'single')
- charset : (¼±ÅÃ) CreateMessageÀÇ ParseTypeÀÌ byte ÀÏ °æ¿ì »ç¿ëµÊ. °íÁ¤°ª.
- charset-name : (¼±ÅÃ) CreateMessageÀÇ ParseTypeÀÌ byte ÀÏ °æ¿ì »ç¿ëµÊ. µ¿Àû°ª.
¿¹Á¦
»ç¿ë ¿¹# 1 TC °æ¿ì
»ç¿ë ¿¹# 1 File °æ¿ì
Âü°í : applicationContext.xml
: glue.properties(ÆÄÀÏÀÇ path ¼³Á¤)
reuse.msg.file.path=C:/data/test/
Methods inherited from class com.poscoict.glueframework.biz.activity.GlueActivity |
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlueMessageCreate
public GlueMessageCreate()
runActivity
public String runActivity(GlueContext ctx)
- Specified by:
runActivity
in class GlueActivity<GlueContext>
Copyright © 2013–2016 POSCO ICT. All rights reserved.