| Modifier and Type | Field and Description |
|---|---|
| private volatile TransactionManager | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract TransactionManager | Returns: the transaction manager, or null if it could not be looked up.Lookup the transaction manager. |
| public TransactionManager | Returns: the transaction managerGet the transaction manager, looking it up if necessary. |
| public String | |
| public void | registerResource(EhcacheXAResource
the XAResource ehcacheXAResource, boolean true if this XAResource is being registered purely for recovery purpose forRecovery)Register an XAResource with the transaction manager. |
| public void | unregisterResource(EhcacheXAResource
the XAResource ehcacheXAResource, boolean true if this XAResource was registered purely for recovery purpose forRecovery)Unregister an XAResource from the transaction manager. |
| transactionManager | back to summary |
|---|---|
| private volatile TransactionManager transactionManager | |
| vendor | back to summary |
|---|---|
| private final String vendor | |
| Selector | back to summary |
|---|---|
| protected Selector(String vendor) Constructor
| |
| doLookup | back to summary |
|---|---|
| protected abstract TransactionManager doLookup() Lookup the transaction manager.
| |
| getTransactionManager | back to summary |
|---|---|
| public TransactionManager getTransactionManager() Get the transaction manager, looking it up if necessary. Once the transaction manager has been looked up, its reference is cached.
| |
| getVendor | back to summary |
|---|---|
| public String getVendor() Get the vendor name
| |
| registerResource | back to summary |
|---|---|
| public void registerResource(EhcacheXAResource ehcacheXAResource, boolean forRecovery) Register an XAResource with the transaction manager.
| |
| unregisterResource | back to summary |
|---|---|
| public void unregisterResource(EhcacheXAResource ehcacheXAResource, boolean forRecovery) Unregister an XAResource from the transaction manager.
| |