Class RecoveryCreator

java.lang.Object
com.arjuna.ats.internal.jts.recovery.RecoveryCreator
Direct Known Subclasses:
GenericRecoveryCreator

public abstract class RecoveryCreator extends Object
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 Details

    • RecoveryCreator

      public RecoveryCreator()
  • Method Details

    • getCreator

      public static final RecoveryCreator getCreator()
    • setCreator

      public static final void setCreator(RecoveryCreator c)
    • 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

      protected abstract void destroy(RecoveryCoordinator rc) throws org.omg.CORBA.SystemException
      Throws:
      org.omg.CORBA.SystemException
    • destroyAll

      protected abstract void destroyAll(Object[] params) throws org.omg.CORBA.SystemException
      Throws:
      org.omg.CORBA.SystemException