|
JBoss Transaction 7.0.0 SPI 7.0.0.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.tm.TransactionManagerLocator
@Deprecated public class TransactionManagerLocator
Locates the transaction manager.
Method Summary | |
---|---|
static TransactionManagerLocator |
getInstance()
Deprecated. Get the locator |
TransactionManager |
getTransactionManager()
Deprecated. Get the transaction manager |
TransactionManager |
locate()
Deprecated. Locate the transaction manager |
TransactionManager |
locate(boolean throwExceptionIfUnableToLocate)
Deprecated. Locate the transaction manager |
static TransactionManager |
locateTransactionManager()
Deprecated. Locate the transaction manager |
static TransactionManager |
locateTransactionManager(boolean throwExceptionIfUnableToLocate)
Deprecated. Locate the transaction manager |
protected TransactionManager |
tryJNDI()
Deprecated. Locate the transaction manager in the well known jndi binding for JBoss |
protected TransactionManager |
usePrivateAPI()
Deprecated. Use the private api |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TransactionManagerLocator getInstance()
public static TransactionManager locateTransactionManager()
public static TransactionManager locateTransactionManager(boolean throwExceptionIfUnableToLocate)
throwExceptionIfUnableToLocate
- if true and transaction manager
cannot be located, a RuntimeException is thrown, otherwise null is
returned.
public TransactionManager getTransactionManager()
getTransactionManager
in interface TransactionManagerFactory
public TransactionManager locate()
public TransactionManager locate(boolean throwExceptionIfUnableToLocate)
throwExceptionIfUnableToLocate
- if true and transaction manager
cannot be located, a RuntimeException is thrown, otherwise null is
returned.
protected TransactionManager tryJNDI()
protected TransactionManager usePrivateAPI()
This is a fallback method for non JBossAS use.
|
JBoss Transaction 7.0.0 SPI 7.0.0.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |