Package org.wildfly.transaction.client
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 Summary
Modifier and TypeMethodDescriptionList all in-doubt XAResources over all instances of theXAResourceRegistryknown to provider.
-
Method Details
-
getInDoubtXAResources
XAResource[] getInDoubtXAResources()List all in-doubt XAResources over all instances of the
XAResourceRegistryknown 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
XAResourceRegistryrecord. This method returns all data from all the records.- Returns:
- list of in-doubt
XAResources previously saved via handling ofXAResourceRegistry.
-