com.nexacro.uiadapter17.spring.dao.mybatis
Class NexacroMybatisResultSetHandler

java.lang.Object
  extended by com.nexacro.uiadapter17.spring.dao.mybatis.NexacroMybatisResultSetHandler
All Implemented Interfaces:
org.apache.ibatis.plugin.Interceptor

public class NexacroMybatisResultSetHandler
extends Object
implements org.apache.ibatis.plugin.Interceptor

Mybatis의 ResultSetHandler.handleResultSets(Statement) plugin으로 NexacroMybatisMetaDataProvider에서 메타데이터 요청시에만 실행되며, 쿼리를 수행하고 ResultSet으로 부터 DbmsProvider를 이용하여 메타데이터 정보를 획득한다.

Since:
10.13.2015
Version:
1.0
Author:
Park SeongMin
See Also:

Constructor Summary
NexacroMybatisResultSetHandler()
           
 
Method Summary
 Object intercept(org.apache.ibatis.plugin.Invocation invocation)
           
 Object plugin(Object target)
           
protected  Class<?> resolveInterface(Class<?> type)
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NexacroMybatisResultSetHandler

public NexacroMybatisResultSetHandler()
Method Detail

plugin

public Object plugin(Object target)
Specified by:
plugin in interface org.apache.ibatis.plugin.Interceptor

setProperties

public void setProperties(Properties properties)
Specified by:
setProperties in interface org.apache.ibatis.plugin.Interceptor

intercept

public Object intercept(org.apache.ibatis.plugin.Invocation invocation)
                 throws Throwable
Specified by:
intercept in interface org.apache.ibatis.plugin.Interceptor
Throws:
Throwable

resolveInterface

protected Class<?> resolveInterface(Class<?> type)


Copyright © 2018. All rights reserved.