public class DummyTransactionManagerLookup extends Object implements TransactionManagerLookup
DummyTransactionManager
.Constructor and Description |
---|
DummyTransactionManagerLookup() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup() |
TransactionManager |
getTransactionManager()
Returns a new TransactionManager.
|
static UserTransaction |
getUserTransaction() |
String |
toString() |
public TransactionManager getTransactionManager() throws Exception
TransactionManagerLookup
getTransactionManager
in interface TransactionManagerLookup
Exception
- if lookup failedpublic static UserTransaction getUserTransaction()
public static void cleanup()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.