public class JDBCXARecovery extends Object implements XAResourceRecovery
Modifier and Type | Field and Description |
---|---|
static String |
DATABASE_JNDI_NAME |
static String |
PASSWORD |
static String |
USER_NAME |
Constructor and Description |
---|
JDBCXARecovery() |
Modifier and Type | Method and Description |
---|---|
XAResource |
getXAResource()
Get a resource to use for recovery purposes.
|
boolean |
hasMoreResources()
Iterate through all of the resources this instance provides
access to.
|
boolean |
initialise(String parameter)
The recovery module will have chopped off this class name already.
|
public static final String DATABASE_JNDI_NAME
public static final String USER_NAME
public static final String PASSWORD
public JDBCXARecovery() throws SQLException
SQLException
public boolean initialise(String parameter) throws SQLException
initialise
in interface XAResourceRecovery
parameter
- An arbitrary string from which initialization data
is obtained.true
if initialization happened successfully,
false
otherwise.SQLException
public XAResource getXAResource() throws SQLException
XAResourceRecovery
getXAResource
in interface XAResourceRecovery
SQLException
public boolean hasMoreResources()
XAResourceRecovery
hasMoreResources
in interface XAResourceRecovery
true
if this instance can provide more
resources, false
otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.