|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.transactionmanager.LocalTransactionManagerFactory
public final class LocalTransactionManagerFactory
Default transaction manager when Castor is used in standalone mode, in other words not within a J2EE container.
| Field Summary | |
|---|---|
static TransactionManager |
MANAGER
The dummy transaction manager that always will be returned. |
static String |
NAME
The name of the factory. |
| Constructor Summary | |
|---|---|
LocalTransactionManagerFactory()
|
|
| Method Summary | |
|---|---|
String |
getName()
Returns the short alias for this factory instance. |
TransactionManager |
getTransactionManager(Properties properties)
Acquires the appropriate javax.transaction.TransactionManager with the given properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final TransactionManager MANAGER
| Constructor Detail |
|---|
public LocalTransactionManagerFactory()
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||