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 TransactionManagerFactory
TransactionManagerFactory.getName()
public TransactionManager getTransactionManager(Properties properties)
getTransactionManager
in interface TransactionManagerFactory
properties
- The properties passed to the transaction manager.#getTransactionManager(java.util.Properties)
Copyright © 2016. All rights reserved.