|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionManagerLookup
Interface to enable a XA transactional cache to access the JTA TransactionManager.
The implementing class can be configured in your xml file. It will then be instanciated by the Cache, during
initialization. It'll then have the properties injected, should any have been specified. And finally,
the TransactionManager will be queried for using #getTransactionManager.
| Method Summary | |
|---|---|
TransactionManager |
getTransactionManager()
Lookup available txnManagers |
void |
register(EhcacheXAResource resource)
execute txnManager specific code to register the XAResource for recovery. |
void |
setProperties(Properties properties)
Setter to the properties properties. |
void |
unregister(EhcacheXAResource resource)
execute txnManager specific code to unregister the XAResource for recovery. |
| Method Detail |
|---|
TransactionManager getTransactionManager()
void register(EhcacheXAResource resource)
resource - the XAResource to register for recovery in the choosen TM.void unregister(EhcacheXAResource resource)
resource - the XAResource to register for recovery in the choosen TM.void setProperties(Properties properties)
properties - the properties parsed from the config file's
transactionManagerLookup tag's properties attribute
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||