Interface XAResourceRegistryProvider


  • public interface XAResourceRegistryProvider

    Interface which provides ability to list in-doubt XAResources at the time. These XAResources are taken cross all instances of the XAResourceRegistry.

    The provider is used to compare currently existing XAResource registry records to running commit commands if the XAResource (or rather SubordinateXAResource is not connected to an existing registry instance.

    • Method Detail

      • getInDoubtXAResources

        XAResource[] getInDoubtXAResources()

        List all in-doubt XAResources over all instances of the XAResourceRegistry known to provider.

        Let's say we have a provider which is based on the file system. Then there are several files where each file represents one XAResourceRegistry record. This method returns all data from all the records.

        Returns:
        list of in-doubt XAResources previously saved via handling of XAResourceRegistry.