com.poscoict.glueframework.message.layout
Class GlueXmlMessageLayout
java.lang.Object
com.poscoict.glueframework.message.layout.GlueAbstractFixedLengthMessageLayout
com.poscoict.glueframework.message.layout.GlueXmlMessageLayout
- All Implemented Interfaces:
- GlueMessageLayout, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
public class GlueXmlMessageLayout
- extends GlueAbstractFixedLengthMessageLayout
MessageLayout ±¸Çöü. Message¸¦ XML¿¡ Á¤ÀÇµÈ Layout¿¡ µû¶ó Create, Parsing½Ã »ç¿ëÇÒ¼ö ÀÖµµ·Ï ±¸ÇöµÈ Implement Class.
Bean Property
- cacheManager : (Çʼö) applicationContext.xml ÀÇ Cache ManagerÀÇ bean id.
- msgParsingType : (¼±ÅÃ) default´Â 'byte'
Àû¿ë ¿ì¼±¼øÀ§
1. msgParsingType bean propertyÀÇ °ª
2. glue.properties ÀÇ msg.parsing.type ¿¡ ÇØ´çÇÏ´Â °ª
3. default °ª
- charset : (¼±ÅÃ) default´Â java.nio.charset.Charset.defaultCharset() °ªÀÓ.
- msgParsingRule : (¼±ÅÃ)
¿¹Á¦
»ç¿ë ¿¹# 1
»ç¿ë ¿¹# 2
»ç¿ë ¿¹# 3
NULL_TO_ZERO_WHEN_TYPE_IS_NUMBER
ZERO_TO_SPACE_WHEN_TYPE_IS_STRING
Âü°í : [MSGFW001]-service.xml
Âü°í : [MSGFW001]-msg.xml
Methods inherited from class com.poscoict.glueframework.message.layout.GlueAbstractFixedLengthMessageLayout |
afterPropertiesSet, destroy, getAttributes, getCacheManager, getCharset, getMsgParsingRule, getMsgParsingType, makeMessageParsing, makeMessageString, setCacheManager, setCharset, setMsgParsingRule, setMsgParsingType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG_FILE_NAME
public static final String MSG_FILE_NAME
- See Also:
- Constant Field Values
GlueXmlMessageLayout
public GlueXmlMessageLayout()
getAttributesDefinition
public List<GlueMessageAttributeDefinition> getAttributesDefinition(String tcid)
throws GlueMessageDefinitionException
- Specified by:
getAttributesDefinition
in class GlueAbstractFixedLengthMessageLayout
- Returns:
- GlueMessageAttributeDefinition List
- Throws:
GlueMessageDefinitionException
createMessageObject
public GlueMessage createMessageObject(String tc)
- Specified by:
createMessageObject
in class GlueAbstractFixedLengthMessageLayout
- Returns:
- GlueMessage
Copyright © 2013–2017 POSCO ICT. All rights reserved.