Method Summary |
|
final protected void | checkDaoConfig() |
protected CciTemplate | createCciTemplate(ConnectionFactory connectionFactory) Create a CciTemplate for the given ConnectionFactory. |
final public CciTemplate | getCciTemplate() Return the CciTemplate for this DAO,
pre-initialized with the ConnectionFactory or set explicitly. |
final protected CciTemplate | getCciTemplate(ConnectionSpec connectionSpec) Obtain a CciTemplate derived from the main template instance,
inheriting the ConnectionFactory and other settings but
overriding the ConnectionSpec used for obtaining Connections. |
final protected Connection | getConnection() Get a CCI Connection, either from the current transaction or a new one. |
final public ConnectionFactory | getConnectionFactory() Return the ConnectionFactory used by this DAO. |
final protected void | releaseConnection(Connection con) Close the given CCI Connection, created via this bean's ConnectionFactory,
if it isn't bound to the thread. |
final public void | setCciTemplate(CciTemplate cciTemplate) Set the CciTemplate for this DAO explicitly,
as an alternative to specifying a ConnectionFactory. |
final public void | setConnectionFactory(ConnectionFactory connectionFactory) Set the ConnectionFactory to be used by this DAO. |