Ehcache instance.
| Modifier and Type | Method and Description |
|---|---|
| public void | addTwoPcExecutionListener(XAExecutionListener
the XAExecutionListener listener)Add a listener which will be called back according to the 2PC lifecycle |
| public XATransactionContext | Returns: The associated Transaction associatedXATransactionContextObtain the already associated |
| public String | Returns: net. valueGetter to the name of the cache wrapped by this XAResource |
| public XATransactionContext | Returns: the currentXATransactionContext, or null if noneGets the current |
| addTwoPcExecutionListener | back to summary |
|---|---|
| public void addTwoPcExecutionListener(XAExecutionListener listener) Add a listener which will be called back according to the 2PC lifecycle
| |
| createTransactionContext | back to summary |
|---|---|
| public XATransactionContext createTransactionContext() throws SystemException, RollbackException Obtain the already associated
| |
| getCacheName | back to summary |
|---|---|
| public String getCacheName() Getter to the name of the cache wrapped by this XAResource
| |
| getCurrentTransactionContext | back to summary |
|---|---|
| public XATransactionContext getCurrentTransactionContext() Gets the current
| |