com.syrtsov.ddao.conn
Class JDBCConnectionHandler

java.lang.Object
  extended by com.syrtsov.ddao.conn.ConnectionHandlerHelper
      extended by com.syrtsov.ddao.conn.JDBCConnectionHandler
All Implemented Interfaces:
Intializible, java.lang.reflect.InvocationHandler

public class JDBCConnectionHandler
extends ConnectionHandlerHelper
implements Intializible

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


Constructor Summary
JDBCConnectionHandler()
           
 
Method Summary
protected  java.sql.Connection createConnection()
           
 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
 
Methods inherited from class com.syrtsov.ddao.conn.ConnectionHandlerHelper
getDaoInvocationHandler, invoke, setDaoInvocationHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCConnectionHandler

public JDBCConnectionHandler()
Method Detail

createConnection

protected java.sql.Connection createConnection()
                                        throws java.sql.SQLException
Specified by:
createConnection in class ConnectionHandlerHelper
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
Description copied from interface: Intializible
initialize this object to be used in context defined by parameters

Specified by:
init in interface Intializible
Overrides:
init in class ConnectionHandlerHelper
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