public class GlueQueryManagerImpl extends Object implements GlueQueryManager, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
GlueQueryDefinition
)¸¦ cacheManger ·ÎºÎÅÍ °¡Á®¿Â´Ù. Äõ¸®Á¤º¸°¡ ij½ÌµÇ¾î ÀÖÁö ¾Ê´Ù¸é, queryLoader¸¦ ÅëÇØ Äõ¸® Á¤º¸¸¦
°¡Á®¿Â´Ù.
Bean Property - cacheManager : (Çʼö) GlueCacheManager ÂüÁ¶ bean id. - queryLoader : (Çʼö) GlueCacheLoader ÂüÁ¶ bean id. ¿¹Á¦»ç¿ë ¿¹# 1
Modifier and Type | Field and Description |
---|---|
protected GlueCacheManager |
cacheManager
Query DefinitionÀ» °ü¸®ÇÏ´Â Cache Manager
|
protected GlueCacheLoader |
queryLoader
Query DefinitionÀ» ·ÎµùÇÏ´Â Cache Loader
|
Constructor and Description |
---|
GlueQueryManagerImpl()
»ý¼ºÀÚ(constructor).
|
GlueQueryManagerImpl(GlueCacheManager manager,
GlueCacheLoader loader)
»ý¼ºÀÚ(constructor).
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
GlueQueryDefinition |
getQueryDefinition(String key)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Äõ¸®Á¤º¸ ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù.
|
void |
reloadAllQueryDefinitions()
Query File¸¦ ´Ù½Ã ÀÐ¾î¼ Ä³½ÌÇÑ´Ù.
|
void |
setCacheManager(GlueCacheManager cacheManager)
setter method for DI.
|
void |
setQueryLoader(GlueCacheLoader queryLoader)
setter method for DI.
|
protected GlueCacheManager cacheManager
protected GlueCacheLoader queryLoader
public GlueQueryManagerImpl()
public GlueQueryManagerImpl(GlueCacheManager manager, GlueCacheLoader loader)
loader
- Cache Loadermanager
- Cache Managerpublic GlueQueryDefinition getQueryDefinition(String key)
GlueQueryManager
getQueryDefinition
in interface GlueQueryManager
key
- Äõ¸® Å°public void reloadAllQueryDefinitions()
GlueQueryManager
reloadAllQueryDefinitions
in interface GlueQueryManager
public void setCacheManager(GlueCacheManager cacheManager)
cacheManager
- Cache Managerpublic void setQueryLoader(GlueCacheLoader queryLoader)
queryLoader
- Cache Loaderpublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
Copyright © 2013–2020 POSCO ICT. All rights reserved.