Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.arjuna.wst
Interface PersistableParticipant

All Known Implementing Classes:
  BusinessAgreementWithCoordinatorCompletionStub, BusinessAgreementWithParticipantCompletionStub, ParticipantStub

public interface PersistableParticipant

The interface for a persistable resource.

Method Summary
`boolean` | `restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)` Restore the state of the particpant from the specified input object stream.
`boolean` | `saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)` Save the state of the particpant to the specified input object stream.

Method Detail

### saveState

    public boolean saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)

  Save the state of the particpant to the specified input object stream.

  Parameters:
    `oos` - The output output stream.
  Returns:
    true if persisted, false otherwise.

### restoreState

    public boolean restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)

  Restore the state of the particpant from the specified input object stream.

  Parameters:
    `ios` - The Input object stream.
  Returns:
    true if restored, false otherwise.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD