/**
  * Proxy to {@link RecoveryContext#registerActivityForRecovery(String, long, String, Date,
  * Element, String[], int)}.
  */
 public void registerActivityForRecovery(
     ActivityRecoveryChannel recoveryChannel,
     long id,
     String reason,
     Date dateTime,
     Element details,
     String[] actions,
     int retryCount) {
   _brc.registerActivityForRecovery(
       recoveryChannel.export(), id, reason, dateTime, details, actions, retryCount);
 }
 public void unregisterActivityForRecovery(ActivityRecoveryChannel recoveryChannel) {
   _brc.unregisterActivityForRecovery(recoveryChannel.export());
 }