com.ibatis.dao.engine.impl
Class DaoProxy

java.lang.Object
  extended bycom.ibatis.dao.engine.impl.DaoProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class DaoProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Field Summary
private  DaoImpl daoImpl
           
private static java.util.Set PASSTHROUGH_METHODS
           
 
Constructor Summary
DaoProxy(DaoImpl daoImpl)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
static Dao newInstance(DaoImpl daoImpl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PASSTHROUGH_METHODS

private static final java.util.Set PASSTHROUGH_METHODS

daoImpl

private DaoImpl daoImpl
Constructor Detail

DaoProxy

public DaoProxy(DaoImpl daoImpl)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

newInstance

public static Dao newInstance(DaoImpl daoImpl)