obtain a byte array containing the recovery state associated with the supplied
participant.

Parameters:

useSerialization true if the object should be converted to a byte array using
serialization otherwise it will be converted by casting to the PersistableATParticipant
interface and employing the getRecoveryState method.