com.syrtsov.ddao.conn
Class JNDIDataSourceHandler
java.lang.Object
com.syrtsov.ddao.conn.ConnectionHandlerHelper
com.syrtsov.ddao.conn.JNDIDataSourceHandler
- All Implemented Interfaces:
- Intializible, java.lang.reflect.InvocationHandler
public class JNDIDataSourceHandler
- extends ConnectionHandlerHelper
- implements Intializible
psdo: add class comments
Created-By: Pavel Syrtsov
Date: Apr 10, 2008
Time: 9:39:39 PM
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DS_CTX_PREFIX
public static final java.lang.String DS_CTX_PREFIX
- See Also:
- Constant Field Values
JNDIDataSourceHandler
public JNDIDataSourceHandler()
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 handlingannotation
- - annotation that been used to create this objectiFaceList
- - output parameter , InvocationHandler can add here
additional interfaces that it can support
- Throws:
InitializerException