public Outcome processMessage (Message notification) throws WrongStateException, ProtocolViolationException, SystemException
{
if (_resource == null)
return new CoordinationOutcome(TwoPhaseResult.FINISH_ERROR);
Outcome result = new CoordinationOutcome(TwoPhaseResult.FINISH_ERROR);
if ((notification instanceof NestedPrepare) || (notification instanceof TopLevelPrepare))
{
result = doPrepare(notification.qualifiers());
}