public synchronized void participantReadOnly (String participantId)
throws InvalidParticipantException, SystemException
{
if (participantId == null)
throw new SystemException(
wscfLogger.log_mesg.getString("com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ACCoordinator_2"));
if (status() == ActionStatus.RUNNING)
{
changeParticipantStatus(participantId, READONLY);
}
else
throw new SystemException(
wscfLogger.log_mesg.getString("com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ACCoordinator_3"));
}