public final class LocalTransactionManagerFactory extends Object implements TransactionManagerFactory
| Modifier and Type | Field and Description |
|---|---|
static TransactionManager |
MANAGER
The dummy transaction manager that always will be returned.
|
static String |
NAME
The name of the factory.
|
| Constructor and Description |
|---|
LocalTransactionManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the short alias for this factory instance.
|
TransactionManager |
getTransactionManager(Properties properties)
Acquires the appropriate javax.transaction.TransactionManager with the
given properties.
|
public static final String NAME
public static final TransactionManager MANAGER
public String getName()
getName in interface TransactionManagerFactoryTransactionManagerFactory.getName()public TransactionManager getTransactionManager(Properties properties)
getTransactionManager in interface TransactionManagerFactoryproperties - The properties passed to the transaction manager.#getTransactionManager(java.util.Properties)Copyright © 2014. All rights reserved.