|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.poscoict.glueframework.dao.manager.GlueQueryManagerImpl
public class GlueQueryManagerImpl
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Äõ¸®Á¤º¸ ¿ÀºêÁ§Æ®(GlueQueryDefinition
)¸¦ ¼ºñ½ºÇϴ Ŭ·¡½º. GlueQueryManagerImpl
ÀÌ »ý¼ºµÉ ¶§ config path¿¡ Á¸ÀçÇÏ´Â ¸ðµç
xxx-query.glue_sql ( or xxx-query.xml ) ÆÄÀÏ Á¤º¸¸¦ ·ÎµùÇÏ¿© ij½¬¿¡ µî·ÏÇÑ´Ù.
bean property ¼³Á¤ - cacheManager : (Çʼö) - queryLoader : (Çʼö) »ç¿ë¿¹(applicationContext.xml)
Field Summary | |
---|---|
protected GlueCacheManager |
cacheManager
Query DefinitionÀ» °ü¸®ÇÏ´Â Cache Manager |
protected GlueCacheLoader |
queryLoader
Query DefinitionÀ» ·ÎµùÇÏ´Â Cache Loader |
Constructor Summary | |
---|---|
GlueQueryManagerImpl()
»ý¼ºÀÚ(constructor). |
|
GlueQueryManagerImpl(GlueCacheManager manager,
GlueCacheLoader loader)
»ý¼ºÀÚ(constructor). |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GlueCacheManager cacheManager
protected GlueCacheLoader queryLoader
Constructor Detail |
---|
public GlueQueryManagerImpl()
public GlueQueryManagerImpl(GlueCacheManager manager, GlueCacheLoader loader)
loader
- Cache Loadermanager
- Cache ManagerMethod Detail |
---|
public 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
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |