|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.transaction.TransactionManagerLookupFactory
public final class TransactionManagerLookupFactory
Helper for generating TransactionManagerLookup instances.
| Method Summary | |
|---|---|
static TransactionManager |
getTransactionManager(Properties props)
Convenience method for locating the JTA TransactionManager from the
given platform config. |
static TransactionManagerLookup |
getTransactionManagerLookup(Properties props)
Generate the appropriate TransactionManagerLookup given the
config settings being passed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TransactionManager getTransactionManager(Properties props)
throws HibernateException
TransactionManager from the
given platform config.
Same as calling getTransactionManager(java.util.Properties).getTransactionManager( props )
props - The properties representing the platform config
TransactionManager
HibernateException - Indicates a problem either (a) generatng the
TransactionManagerLookup or (b) asking it to locate the TransactionManager.
public static TransactionManagerLookup getTransactionManagerLookup(Properties props)
throws HibernateException
TransactionManagerLookup given the
config settings being passed.
props - The config settings
TransactionManagerLookup
HibernateException - Indicates problem generating TransactionManagerLookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||