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
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()
Copyright © 1999-2014 The xmlBlaster.org contributers.