Interface HazelcastXAResource

  • All Superinterfaces:
    DistributedObject, javax.transaction.xa.XAResource

    public interface HazelcastXAResource
    extends javax.transaction.xa.XAResource, DistributedObject
    Interface for providing Hazelcast as an XAResource
    • Method Detail

      • getTransactionContext

        @Nonnull
        TransactionContext getTransactionContext()
        Returns the TransactionContext associated with the current thread.
        Returns:
        TransactionContext associated with the current thread
        Throws:
        java.lang.IllegalStateException - if no context found