
public class GlueDBMessageLayout extends GlueAbstractFixedLengthMessageLayout
Bean Property
- cacheManager : (Çʼö) applicationContext.xml ÀÇ Cache ManagerÀÇ bean id.
- dao : (Çʼö) applicationContext.xml ÀÇ DaoÀÇ bean id.
- msgParsingType : (¼±ÅÃ) default´Â 'byte'
Àû¿ë ¿ì¼±¼øÀ§
1. msgParsingType bean propertyÀÇ °ª
2. glue.properties ÀÇ msg.parsing.type ¿¡ ÇØ´çÇÏ´Â °ª
3. default °ª
- charset : (¼±ÅÃ) default´Â java.nio.charset.Charset.defaultCharset() °ªÀÓ.
- queryId : (¼±ÅÃ) default´Â 'get_msg_layout_query' ÀÓ.
query file¿¡ query id°¡ 'get_msg_layout_query' ÀÌ ¾Æ´Ò °æ¿ì »ç¿ëÇÑ´Ù.
- msgParsingRule : (¼±ÅÃ)
¿¹Á¦
»ç¿ë ¿¹# 1
»ç¿ë ¿¹# 2
»ç¿ë ¿¹# 3
»ç¿ë ¿¹# 4
Âü°í : [MSGFW001]-service.xml
Âü°í : [layout]-query.glue_sql
logger, MSG_TYPE_BYTE, MSG_TYPE_STRING, RULE_NUMBER_NULL_TO_ZERO, RULE_STRING_ZERO_TO_SPACE| Constructor and Description |
|---|
GlueDBMessageLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
GlueMessage |
createMessageObject(String tc) |
List<GlueMessageAttributeDefinition> |
getAttributesDefinition(String tcid) |
GlueGenericJdbcDao |
getDao() |
String |
getQueryId() |
void |
setDao(GlueGenericJdbcDao dao)
setter method for DI.
|
void |
setQueryId(String queryId)
setter method for DI.
|
destroy, getAttributes, getCacheManager, getCharset, getMsgParsingRule, getMsgParsingType, makeMessageParsing, makeMessageString, setCacheManager, setCharset, setMsgParsingRule, setMsgParsingTypepublic GlueGenericJdbcDao getDao()
public void setDao(GlueGenericJdbcDao dao)
dao - public String getQueryId()
public void setQueryId(String queryId)
queryId - public List<GlueMessageAttributeDefinition> getAttributesDefinition(String tcid) throws GlueMessageDefinitionException
getAttributesDefinition in class GlueAbstractFixedLengthMessageLayoutGlueMessageDefinitionExceptionpublic GlueMessage createMessageObject(String tc)
createMessageObject in class GlueAbstractFixedLengthMessageLayoutpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class GlueAbstractFixedLengthMessageLayoutExceptionCopyright © 2013–2020 POSCO ICT. All rights reserved.