public class GenericRecoveryCreator extends RecoveryCreator
RecoveryCreator
.
Orb-specific aspects, especially the specific construction of the
RecoveryCoordinator IOR are delegated to an implementation of RcvCoManager
.
The RCs may be created locally (depends on the orb-specific mechanisms) but
will be recreated in the RecoveryManager if called there (possibly following
a crash of this process).Modifier and Type | Method and Description |
---|---|
RecoveryCoordinator |
create(Resource res,
Object[] params)
Create a new RecoveryCoordinator for Resource res.
|
void |
destroy(RecoveryCoordinator rc)
The RC instance is not longer needed by the application.
|
void |
destroyAll(Object[] params)
Destroy all RC instances for the transactions identified in params.
|
static String |
getRecCoordServiceName()
Get the service name.
|
static void |
register(RcvCoManager theManager)
Create an instance of this class, which will delegate the orb-specific
aspects to the supplied RcvCoManager instance and register it with
the transaction service.
|
createRecoveryCoordinator, destroyAllRecoveryCoordinators, destroyRecoveryCoordinator, getCreator, setCreator
public static void register(RcvCoManager theManager)
public RecoveryCoordinator create(Resource res, Object[] params) throws SystemException
create
in class RecoveryCreator
SystemException
public void destroy(RecoveryCoordinator rc) throws SystemException
destroy
in class RecoveryCreator
SystemException
public void destroyAll(Object[] params) throws SystemException
destroyAll
in class RecoveryCreator
SystemException
public static String getRecCoordServiceName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.