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

org.hibernate.transaction.TransactionManagerLookup Maven / Gradle / Ivy

There is a newer version: 3.6.0.Beta2
Show newest version
//$Id: TransactionManagerLookup.java 3890 2004-06-03 16:31:32Z steveebersole $
package org.hibernate.transaction;

import java.util.Properties;
import javax.transaction.TransactionManager;

import org.hibernate.HibernateException;

/**
 * Concrete implementations locate and return the JTA
 * TransactionManager.
 * @author Gavin King
 */
public interface TransactionManagerLookup {

	/**
	 * Obtain the JTA TransactionManager
	 */
	public TransactionManager getTransactionManager(Properties props) throws HibernateException;

	/**
	 * Return the JNDI name of the JTA UserTransaction
	 * or null (optional operation).
	 */
	public String getUserTransactionName();

}










© 2015 - 2025 Weber Informatics LLC | Privacy Policy