public abstract class XAResourceRegistry extends Object
| Constructor and Description |
|---|
XAResourceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addResource(XAResource resource,
URI uri)
Adds a XA resource to this registry.
|
protected XAResource |
reloadInDoubtResource(URI uri,
String nodeName)
Reloads an in doubt resource, recreating a previously lost remote XA resource object.
|
protected abstract void |
removeResource(XAResource resource)
Removes a XA resource from this registry.
|
protected abstract void |
resourceInDoubt(XAResource resource)
Flags the previously added resource as in doubt, meaning that it failed to complete prepare, rollback or commit.
|
protected abstract void addResource(XAResource resource, URI uri) throws SystemException
resource - the resourceuri - the resource URI locationSystemException - if there is a problem recording this resourceprotected abstract void removeResource(XAResource resource) throws XAException
resource - the resourceXAException - if there is a problem deleting this resourceprotected abstract void resourceInDoubt(XAResource resource)
resource - the resourceprotected XAResource reloadInDoubtResource(URI uri, String nodeName)
uri - the URI where the outflowed resource is locatednodeName - the node name of the resourceCopyright © 2019 JBoss by Red Hat. All rights reserved.