All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.resource.transaction.backend.jta.internal.synchronization.AfterCompletionAction Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * 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.resource.transaction.backend.jta.internal.synchronization;

import java.io.Serializable;

import org.hibernate.engine.spi.SessionImplementor;

/**
 * A pluggable strategy for defining any actions to be performed during
 * {@link javax.transaction.Synchronization#afterCompletion} processing from the the
 * {@link javax.transaction.Synchronization} registered by Hibernate with the underlying JTA platform.
 *
 * @author Steve Ebersole
 *
 * @deprecated (since 5.2) - probably getting removed in 5.2 as well.  This was an SPI contract
 * intended for HEM that is no longer needed.
 */
@Deprecated
public interface AfterCompletionAction extends Serializable {
	void doAction(boolean successful, SessionImplementor session);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy