Interface NewConnectionInitializer
public interface NewConnectionInitializer
A
DataSourcePool listener which allows you to hook on the create connections process of the pool.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidpostInitialize(Connection connection) Called after a connection has been initialized (after onCreatedConnection) and all settings applied.default voidpreInitialize(Connection connection) Called after a connection has been created, before any initialization.
-
Method Details
-
preInitialize
Called after a connection has been created, before any initialization.- Parameters:
connection- the created connection
-
postInitialize
Called after a connection has been initialized (after onCreatedConnection) and all settings applied.- Parameters:
connection- the created connection
-