org.mentawai.db
Class AbstractConnectionHandler
java.lang.Object
org.mentawai.db.AbstractConnectionHandler
- All Implemented Interfaces:
- org.mentacontainer.Factory, org.mentacontainer.Interceptor<Connection>, ConnectionHandler
- Direct Known Subclasses:
- BoneCPConnectionHandler, C3P0ConnectionHandler, DataSourceConnectionHandler, DBCPConnectionHandler, JdbcConnectionHandler, JNDIConnectionHandler
public abstract class AbstractConnectionHandler
- extends Object
- implements ConnectionHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConnectionHandler
public AbstractConnectionHandler()
exec
public void exec(ConnectionHandler.Exec exec)
- Specified by:
exec in interface ConnectionHandler
getInstance
public <T> T getInstance()
- Specified by:
getInstance in interface org.mentacontainer.Factory
getType
public Class<? extends Object> getType()
- Specified by:
getType in interface org.mentacontainer.Factory
onCreated
public void onCreated(Connection createdObject)
- Specified by:
onCreated in interface org.mentacontainer.Interceptor<Connection>
onCleared
public void onCleared(Connection clearedObject)
- Specified by:
onCleared in interface org.mentacontainer.Interceptor<Connection>
Copyright © 2012. All Rights Reserved.