/**
  * test whether a participant is currently activated with the id of this recovery record.
  *
  * @return true if a participant is currently activated with the id of this recovery record
  */
 public boolean isActive() {
   return ParticipantProcessor.getProcessor().isActive(getId());
 }
 /**
  * create a participant engine to manage commit or rollback processing for the participant and
  * install it in the active participants table
  */
 public void activate() {
   ParticipantEngine engine =
       new ParticipantEngineImpl(participant, id, State.STATE_PREPARED_SUCCESS, endpoint, true);
   ParticipantProcessor.getProcessor().activateParticipant(engine, getId());
   engine.recovery();
 }