com.poscoict.glueframework.message.layout
Class GlueDBMessageLayout
java.lang.Object
  
com.poscoict.glueframework.message.layout.GlueAbstractFixedLengthMessageLayout
      
com.poscoict.glueframework.message.layout.GlueDBMessageLayout
- All Implemented Interfaces: 
 - GlueMessageLayout, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
 
public class GlueDBMessageLayout
- extends GlueAbstractFixedLengthMessageLayout
 
MessageLayout ±¸Çöü. Message¸¦ DB¿¡ Á¤ÀÇµÈ Layout¿¡ µû¶ó Create, Parsing½Ã »ç¿ëÇÒ¼ö ÀÖµµ·Ï ±¸ÇöµÈ Implement Class. GlueDBMessageLayout Class´Â Master DB·Î ºÎÅÍ
 TC¿¡ ÇØ´çÇÏ´Â Layout Á¤º¸¸¦ ÀÐ¾î ¿Í¼ TC¸¦ Parse Çϰųª Create ÇÏ°Ô ÇÑ´Ù.
 
 
 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
 
     
         
         
         
         
             
                 NULL_TO_ZERO_WHEN_TYPE_IS_NUMBER
                 ZERO_TO_SPACE_WHEN_TYPE_IS_STRING
             
         
     
     
     
 
 
 Âü°í : [MSGFW001]-service.xml
 
     
         
         
     
 
 Âü°í : [layout]-query.glue_sql
 
      
     
         
             
         
     
 
 
 
 
 
| Methods inherited from class com.poscoict.glueframework.message.layout.GlueAbstractFixedLengthMessageLayout | 
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 | 
 
GlueDBMessageLayout
public GlueDBMessageLayout()
getDao
public GlueGenericJdbcDao getDao()
 
setDao
public void setDao(GlueGenericJdbcDao dao)
- setter method for DI.
- Parameters:
 dao - 
 
 
getQueryId
public String getQueryId()
 
setQueryId
public void setQueryId(String queryId)
- setter method for DI.
- Parameters:
 queryId - 
 
 
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
 
 
afterPropertiesSet
public void afterPropertiesSet()
                        throws Exception
- Specified by:
 afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean- Overrides:
 afterPropertiesSet in class GlueAbstractFixedLengthMessageLayout
 
- Throws:
 Exception
 
Copyright © 2013–2018 POSCO ICT. All rights reserved.