jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "AtomicTransaction::begin ()");
}
// already begun?
CurrentImple current = OTSImpleManager.current();
synchronized (_theStatus)
{
if (_theAction != null)
{
throw new INVALID_TRANSACTION(ExceptionCodes.ALREADY_BEGUN,
CompletionStatus.COMPLETED_NO);
}
current.begin();
_theAction = current.getControlWrapper();
}
_theStatus = current.get_status();
if (jtsLogger.logger.isDebugEnabled())
{
jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "AtomicTransaction::begin create "
+ _theAction);