public interface TransactionManagerLookup
initialization
. It'll then have the properties injected, should any have been specified. And finally,
the TransactionManager will be queried for using #getTransactionManager.Modifier and Type | Method and Description |
---|---|
TransactionManager |
getTransactionManager()
Lookup available txnManagers
|
void |
init()
Switch the TransactionManagerLookup implementation to its initialized state.
|
void |
register(EhcacheXAResource resource,
boolean forRecovery)
execute txnManager specific code to register the XAResource for recovery.
|
void |
setProperties(Properties properties)
Setter to the properties properties.
|
void |
unregister(EhcacheXAResource resource,
boolean forRecovery)
execute txnManager specific code to unregister the XAResource for recovery.
|
void init()
TransactionManager getTransactionManager()
void register(EhcacheXAResource resource, boolean forRecovery)
resource
- the XAResource to register for recovery in the choosen TM.forRecovery
- true if the XAResource is meant to be registered for recovery purpose only.void unregister(EhcacheXAResource resource, boolean forRecovery)
resource
- the XAResource to register for recovery in the choosen TM.forRecovery
- true if the XAResource is meant to be registered for recovery purpose only.void setProperties(Properties properties)
properties
- the properties parsed from the config file's
transactionManagerLookup tag's properties attributeCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.