com.syrtsov.ddao.conn
Class ConnectionHandlerHelper
java.lang.Object
com.syrtsov.ddao.conn.ConnectionHandlerHelper
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- Direct Known Subclasses:
- JDBCConnectionHandler, JNDIDataSourceHandler
public abstract class ConnectionHandlerHelper
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
Created by: pavel
Date: Jun 11, 2008
Time: 10:50:45 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionHandlerHelper
public ConnectionHandlerHelper()
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
createConnection
protected abstract java.sql.Connection createConnection()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
init
public void init(java.lang.Class<?> iFace,
java.lang.annotation.Annotation annotation,
java.util.List<java.lang.Class<?>> iFaceList)
throws InitializerException
- Throws:
InitializerException
setDaoInvocationHandler
public void setDaoInvocationHandler(DaoInvocationHandler daoInvocationHandler)
getDaoInvocationHandler
public DaoInvocationHandler getDaoInvocationHandler()