Class GlueQueryManagerImpl

java.lang.Object
com.poscoict.glueframework.dao.manager.GlueQueryManagerImpl
All Implemented Interfaces:
GlueQueryManager, DisposableBean, InitializingBean

public class GlueQueryManagerImpl extends Object implements GlueQueryManager, InitializingBean, DisposableBean
QueryManager 구현체. 쿼리 키에 해당하는 쿼리정보(GlueQueryDefinition)를 cacheManager 로부터 가져온다. 쿼리정보가 캐싱되어 있지 않다면, queryLoader를 통해 쿼리 정보를 가져온다.
 Bean Property

 - cacheManager : (필수) GlueCacheManager 참조 bean id.

 - queryLoader : (필수) GlueCacheLoader 참조 bean id.



 예제
 
 사용 예# 1

     <bean id="queryManager" class="com.poscoict.glueframework.dao.manager.GlueQueryManagerImpl">
         <property name="cacheManager" ref="cacheManager"/>
         <property name="queryLoader" ref="queryLoader"/>
     </bean>
 
  • Field Details

    • cacheManager

      protected GlueCacheManager cacheManager
      Query Definition을 관리하는 Cache Manager
    • queryLoader

      protected GlueCacheLoader queryLoader
      Query Definition을 로딩하는 Cache Loader
  • Constructor Details

    • GlueQueryManagerImpl

      public GlueQueryManagerImpl()
      생성자(constructor).
    • GlueQueryManagerImpl

      public GlueQueryManagerImpl(GlueCacheManager manager, GlueCacheLoader loader)
      생성자(constructor).
      Parameters:
      manager - Cache Manager
      loader - Cache Loader
  • Method Details