org.hibernate.action.spi.AfterTransactionCompletionProcess Maven / Gradle / Ivy
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.action.spi;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
/**
* Contract representing some process that needs to occur during after transaction completion.
*
* @author Steve Ebersole
*/
public interface AfterTransactionCompletionProcess {
/**
* Perform whatever processing is encapsulated here after completion of the transaction.
*
* @param success Did the transaction complete successfully? True means it did.
* @param session The session on which the transaction is completing.
*/
void doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy