* @throws SystemException
*/
public int doPrepare () throws SystemException
{
ServerTransaction stx = getTransaction();
// TODO make sure synchronizations go off
// require registration of synchronization interposed resource as well!
if (stx != null)
return stx.doPrepare();
else
return TwoPhaseOutcome.INVALID_TRANSACTION;
}