xmlBlaster 2.2.0 contributions API

org.xmlBlaster.contrib.db
Interface I_DbCreateInterceptor

All Known Implementing Classes:
ReplCreateInterceptor

public interface I_DbCreateInterceptor

Interface who's implementation are invoked each time a connection is created inside the I_DbPool. It is this way possible to make some configurations on the connection to a JDBC pool implementation. Note that the same instance of the implementation of this class will be invoked on each connection creation. The implementing class should also provide a default constructor.

Author:
michele@laghi.eu

Method Summary
 void init(I_Info info)
          Needs to be called after construction.
 void onCreateConnection(java.sql.Connection conn)
           
 void shutdown()
           
 

Method Detail

onCreateConnection

void onCreateConnection(java.sql.Connection conn)
                        throws java.lang.Exception
Throws:
java.lang.Exception

init

void init(I_Info info)
          throws java.lang.Exception
Needs to be called after construction.

Parameters:
info - The configuration
Throws:
java.lang.Exception

shutdown

void shutdown()

xmlBlaster 2.2.0 contributions API

Copyright © 1999-2014 The xmlBlaster.org contributers.