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
- implements org.springframework.beans.factory.InitializingBean
  
Message¸¦ DB¿¡ Á¤ÀÇµÈ Layout¿¡ µû¶ó Create, Parsing½Ã »ç¿ëÇÒ¼ö ÀÖµµ·Ï ±¸ÇöµÈ Implement Class. GlueDBMessageLayout Class´Â Master DB·Î ºÎÅÍ TC¿¡ ÇØ´çÇÏ´Â Layout Á¤º¸¸¦
 ÀÐ¾î ¿Í¼ TC¸¦ Parse Çϰųª Create ÇÏ°Ô ÇÑ´Ù.
 
 
 bean property ¼³Á¤
 
 - cacheManager : (¼±ÅÃ) default ´Â 'cacheManager' ÀÓ.
   applicationContext.xml ÀÇ Cache ManagerÀÇ bean id°¡ 'cacheManager°¡ ¾Æ´Ò °æ¿ì »ç¿ëÇÑ´Ù.
 
  - msgParsingType : (¼±ÅÃ) default´Â 'byte'
    Àû¿ë ¿ì¼±¼øÀ§
    1. msgParsingType bean propertyÀÇ °ª
    2. glue.properties ÀÇ msg.parsing.type ¿¡ ÇØ´çÇÏ´Â °ª
    3. default °ª
 
 - charset : (¼±ÅÃ) default´Â java.nio.charset.Charset.defaultCharset() °ªÀÓ.
 
 - dao : (¼±ÅÃ) default´Â 'masterdao' ÀÓ.
   applicationContext.xml ÀÇ DaoÀÇ bean id°¡ 'masterdao'°¡ ¾Æ´Ò °æ¿ì »ç¿ëÇÑ´Ù.
 
 - queryId : (¼±ÅÃ) default´Â 'get_msg_layout_query' ÀÓ.
   query file¿¡ query id°¡ 'get_msg_layout_query' ÀÌ ¾Æ´Ò °æ¿ì »ç¿ëÇÑ´Ù.
 
 
 applicationContext.xml
 
     
     
     
     
 
 
     
     
 
 
      
      
      
      
      
  
 
 service ÆÄÀÏ : [MSGFW001]-service.xml
 
     
     
 
 
 query ÆÄÀÏ : [layout]-query.glue_sql
  
 
     
         
     
 
 
 
 
 
 
 
| 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
 
- Throws:
 Exception
 
Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.