
org.hibernate.transaction.TransactionManagerLookup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate Show documentation
Show all versions of hibernate Show documentation
Relational Persistence for Java
//$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