com.syrtsov.ddao.conn
Class DaoInvocationHandlerImpl

java.lang.Object
  extended by com.syrtsov.ddao.conn.DaoInvocationHandlerImpl
All Implemented Interfaces:
DaoInvocationHandler, Intializible

public class DaoInvocationHandlerImpl
extends java.lang.Object
implements Intializible, DaoInvocationHandler

psdo: add class comments Created-By: Pavel Syrtsov Date: Apr 10, 2008 Time: 9:39:39 PM


Constructor Summary
DaoInvocationHandlerImpl()
           
 
Method Summary
 void init(java.lang.Class<?> iFace, java.lang.annotation.Annotation annotation, java.util.List<java.lang.Class<?>> iFaceList)
          initialize this object to be used in context defined by parameters
 java.lang.Object invoke(java.sql.Connection connection, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaoInvocationHandlerImpl

public DaoInvocationHandlerImpl()
Method Detail

invoke

public java.lang.Object invoke(java.sql.Connection connection,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface DaoInvocationHandler
Throws:
java.lang.Throwable

init

public void init(java.lang.Class<?> iFace,
                 java.lang.annotation.Annotation annotation,
                 java.util.List<java.lang.Class<?>> iFaceList)
          throws InitializerException
Description copied from interface: Intializible
initialize this object to be used in context defined by parameters

Specified by:
init in interface Intializible
Parameters:
iFace - - interface that this InovationHandler shall be handling
annotation - - annotation that been used to create this object
iFaceList - - output parameter , InvocationHandler can add here additional interfaces that it can support
Throws:
InitializerException