public abstract class AbstractTransactionManagerFactory extends Object implements TransactionManagerFactory
Constructor and Description |
---|
AbstractTransactionManagerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getFactoryClassName()
Get name of the factory class.
|
abstract String |
getFactoryMethodName()
Get name of the factory method.
|
TransactionManager |
getTransactionManager(Properties properties)
Acquires the appropriate javax.transaction.TransactionManager with the
given properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public abstract String getFactoryClassName()
public abstract String getFactoryMethodName()
public final TransactionManager getTransactionManager(Properties properties) throws TransactionManagerAcquireException
getTransactionManager
in interface TransactionManagerFactory
properties
- The properties passed to the transaction manager.TransactionManagerAcquireException
- If any failure occured when loading
the transaction manager.TransactionManagerFactory.getTransactionManager(
java.util.Properties)
Copyright © 2016. All rights reserved.