Class RecoveryCreator
java.lang.Object
com.arjuna.ats.internal.jts.recovery.RecoveryCreator
- Direct Known Subclasses:
GenericRecoveryCreator
This abstract class is used to allow dynamic registration of creators
for RecoveryCoordinators. This means that we can provide ORB specific
implementations without having to have implementation specific
information within the transaction service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RecoveryCoordinator
static final RecoveryCoordinator
createRecoveryCoordinator
(Resource res, Object[] params) protected abstract void
protected abstract void
destroyAll
(Object[] params) static final void
destroyAllRecoveryCoordinators
(Object[] params) static final void
static final RecoveryCreator
static final void
-
Constructor Details
-
RecoveryCreator
public RecoveryCreator()
-
-
Method Details
-
getCreator
-
setCreator
-
createRecoveryCoordinator
public static final RecoveryCoordinator createRecoveryCoordinator(Resource res, Object[] params) throws org.omg.CORBA.SystemException - Throws:
org.omg.CORBA.SystemException
-
destroyRecoveryCoordinator
public static final void destroyRecoveryCoordinator(RecoveryCoordinator rc) throws org.omg.CORBA.SystemException - Throws:
org.omg.CORBA.SystemException
-
destroyAllRecoveryCoordinators
public static final void destroyAllRecoveryCoordinators(Object[] params) throws org.omg.CORBA.SystemException - Throws:
org.omg.CORBA.SystemException
-
create
protected abstract RecoveryCoordinator create(Resource res, Object[] params) throws org.omg.CORBA.SystemException - Throws:
org.omg.CORBA.SystemException
-
destroy
- Throws:
org.omg.CORBA.SystemException
-
destroyAll
- Throws:
org.omg.CORBA.SystemException
-