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 |
|---|---|
| public TransactionManager | |
| public void | |
| public void | register(EhcacheXAResource
the XAResource to register for recovery in the choosen TM. resource, boolean true if the XAResource is meant to be registered for recovery purpose only. forRecovery)execute txnManager specific code to register the XAResource for recovery. |
| public void | setProperties(Properties
the properties parsed from the config file's
transactionManagerLookup tag's properties attribute properties)Setter to the properties properties. |
| public void | unregister(EhcacheXAResource
the XAResource to register for recovery in the choosen TM. resource, boolean true if the XAResource is meant to be registered for recovery purpose only. forRecovery)execute txnManager specific code to unregister the XAResource for recovery. |
| getTransactionManager | back to summary |
|---|---|
| public TransactionManager getTransactionManager() Lookup available txnManagers
| |
| init | back to summary |
|---|---|
| public void init() Switch the TransactionManagerLookup implementation to its initialized state. All EhcacheXAResources registered before initialization are queued up internally and are only registered with the transaction manager during initialization. | |
| register | back to summary |
|---|---|
| public void register(EhcacheXAResource resource, boolean forRecovery) execute txnManager specific code to register the XAResource for recovery.
| |
| setProperties | back to summary |
|---|---|
| public void setProperties(Properties properties) Setter to the properties properties. This will be called right after the class has been instantiated.
| |
| unregister | back to summary |
|---|---|
| public void unregister(EhcacheXAResource resource, boolean forRecovery) execute txnManager specific code to unregister the XAResource for recovery.
| |