Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.dao.engine.impl
Class DaoProxy  view DaoProxy download DaoProxy.java

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)
          When a method is invoked on a proxy instance, it is wrapped and this method is called instead, so that you may decide at runtime how the original method should behave.
static com.ibatis.dao.client.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
Description copied from interface: java.lang.reflect.InvocationHandler
When a method is invoked on a proxy instance, it is wrapped and this method is called instead, so that you may decide at runtime how the original method should behave.

Specified by:
invoke in interface java.lang.reflect.InvocationHandler

newInstance

public static com.ibatis.dao.client.Dao newInstance(DaoImpl daoImpl)