com.ibm.wsspi.recovery.handler

Interface RecoveryOperation


  1. public interface RecoveryOperation
The RecoveryOperation interface defines how the events be managed. Any sub-system leveraging Recovery needs to implement the interface to delete or replay the event data in the sub-system with request from Recovery. The implementation needs to be registered.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. void
deleteEvent(java.lang.String eventId,java.util.Properties context)
Delete the specified event.
  1. void
replayEvent(java.lang.String eventId,EventData replayData,java.util.Properties context)
Replay the specified event.
  1. EventData
retrieveEvent(java.lang.String eventId,java.util.Properties context)
Return the detailed information of the event.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

retrieveEvent

  1. EventData retrieveEvent(java.lang.String eventId,
  2. java.util.Properties context)
  3. throws RecoveryException
Return the detailed information of the event.
Parameters:
eventId -
context -
Returns:
Throws:

deleteEvent

  1. void deleteEvent(java.lang.String eventId,
  2. java.util.Properties context)
  3. throws RecoveryException
Delete the specified event. This operation is triggered from Recovery client (FEM or custom program). The metadata in Recovery repository and message/record left in sub-system will be removed in the same transaction.
Parameters:
eventId -
context -
Throws:

replayEvent

  1. void replayEvent(java.lang.String eventId,
  2. EventData replayData,
  3. java.util.Properties context)
  4. throws RecoveryException
Replay the specified event. The metadata in Recovery repository and event data in sub-system will be removed in the same transaction.
Parameters:
eventId -
replayData - modified data, specify null if no modification required
context -
Throws: