org.zapodot.junit.db.plugin.InitializationPlugin Maven / Gradle / Ivy
package org.zapodot.junit.db.plugin;
import java.sql.Connection;
/**
* An interface for creating custom initialization code for instance using Liquibase, Flyway or similar.
*
* @author zapodot
*/
public interface InitializationPlugin {
/**
* Invoked by {@link org.zapodot.junit.db.EmbeddedDatabaseRule} after the in-memory database has been created
*
* @param name the name of the in-memory H2 databaase
* @param connection a connection to the database
*/
void connectionMade(final String name, final Connection connection);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy