Save This Page
Home » Hibernate-3.3.2.GA » org.hibernate » transaction » [javadoc | source]
org.hibernate.transaction
public interface: TransactionManagerLookup [javadoc | source]

All Known Implementing Classes:
    ResinTransactionManagerLookup, OrionTransactionManagerLookup, JNDITransactionManagerLookup, JRun4TransactionManagerLookup, WebSphereExtendedJTATransactionLookup, SunONETransactionManagerLookup, JOTMTransactionManagerLookup, OC4JTransactionManagerLookup, WeblogicTransactionManagerLookup, JBossTransactionManagerLookup, WebSphereTransactionManagerLookup, BTMTransactionManagerLookup, BESTransactionManagerLookup, JOnASTransactionManagerLookup

Contract for locating the JTA TransactionManager on given platform.

NOTE: this contract has expanded over time, and basically is a platform abstraction contract for JTA-related information.

Method from org.hibernate.transaction.TransactionManagerLookup Summary:
getTransactionIdentifier,   getTransactionManager,   getUserTransactionName
Method from org.hibernate.transaction.TransactionManagerLookup Detail:
 public Object getTransactionIdentifier(Transaction transaction)
    Determine an identifier for the given transaction appropriate for use in caching/lookup usages.

    Generally speaking the transaction itself will be returned here. This method was added specifically for use in WebSphere and other unfriendly JEE containers (although WebSphere is still the only known such brain-dead, sales-driven impl).

 public TransactionManager getTransactionManager(Properties props) throws HibernateException
 public String getUserTransactionName()