|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.poscoict.glueframework.biz.control.GlueServiceDBLoader
public class GlueServiceDBLoader
CacheLoader ±¸Çöü. GlueServiceDBLoader´Â Cache¿¡¼ ÇØ´ç Service°´Ã¼(GlueService)¸¦ ã°í ¾øÀ¸¸é DBÀ» ÀÐ¾î¼ Cache¿¡ ÀúÀåÇÑ´Ù.
Bean Property - dataSource : (Çʼö) - queryManager : (¼±ÅÃ) - queryIdMap : (¼±ÅÃ) ¿¹Á¦»ç¿ë ¿¹# 1 : Á¦°øµÈ TableÀ» »ç¿ëÇÏ´Â °æ¿ì »ç¿ë ¿¹# 2 : glue-core¿¡ Æ÷ÇÔµÈ query fileÀ» ·ÎµùÇؼ »ç¿ëÇÒ °æ¿ì. »ç¿ë ¿¹#3 : Table¸¦ Customizing ÇÑ °æ¿ì, query fileÀ» Ãß°¡Çؼ »ç¿ëÇÏ´Â °æ¿ì.
com/poscoict/glueframework/biz/control/GlueServiceDBLoader-query.glue_sql Âü°í : serviceLoader-query.glue_sql - isNamed="false"ÀÓ. - 6°³ÀÇ query¸¦ ÀÛ¼ºÇϸç, bindinigÀº ¼ø¼¿Í °³¼ö´Â ¸ÂÃç¾ßÇÔ. - column name ÀÌ ´Ù¸£¸é alias¸¦ ÀÌ¿ëÇØ ¸ÂÃç¾ß ÇÔ.
query_user/serviceLoader-query.glue_sql
Constructor Summary | |
---|---|
GlueServiceDBLoader()
»ý¼ºÀÚ(constructor). |
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
Object |
loadCacheObject(Object cacheKey,
String regionName)
ÁÖ¾îÁø ij½¬ ¿µ¿ª¸í¿¡ ÇØ´çÇϴ ij½¬¿µ¿ª¿¡¼ ij½¬ Å°¸¦ »ç¿ëÇÏ¿© ¿ÀºêÁ§Æ®¸¦ ·ÎµùÇÔ |
void |
setDataSource(DataSource dataSource)
setter method for DI. |
void |
setQueryInfoMap(Map<String,String> queryInfoMap)
setter method for DI. |
void |
setQueryManager(GlueQueryManager queryManager)
setter method for DI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlueServiceDBLoader()
Method Detail |
---|
public void setDataSource(DataSource dataSource)
dataSource
- public void setQueryManager(GlueQueryManager queryManager)
queryManager
- public void setQueryInfoMap(Map<String,String> queryInfoMap)
queryInfoMap
- public Object loadCacheObject(Object cacheKey, String regionName) throws GlueException
GlueCacheLoader
loadCacheObject
in interface GlueCacheLoader
cacheKey
- ij½¬ Å°regionName
- ij½¬ ¿µ¿ª¸í
GlueException
- - ij½¬°ü·Ã ¿¡·¯¹ß»ý ½Ãpublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |