public final synchronized ServerControl deepestControl () { ServerRestrictedNestedAction myChild = child(); if (myChild != null) return myChild.deepestControl(); else return control(); }
if (nestedAction.get_uid().equals(Utility.otidToUid(context.parents[i].otid))) nestedAction = nestedAction.child(); nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); // does dispose as well! nestedAction = null; nestedAction = nestedAction.child(); while (nestedAction.child() != null) nestedAction = nestedAction.child(); currentUid = nestedAction.get_uid(); currentUid = nestedAction.get_uid(); nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); // does dispose as well! nestedAction = null;
tmpCoord, tmpTerm, control); nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); nestedAction = null; nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); nestedAction = null;
public final synchronized ServerControl deepestControl () { ServerRestrictedNestedAction myChild = child(); if (myChild != null) return myChild.deepestControl(); else return control(); }
public final synchronized ServerRestrictedNestedAction child () { ServerRestrictedNestedAction toReturn = null; List<ServerNestedAction> children = getChildren(); // There should be only one child! if (children.size() > 1) { jtsLogger.i18NLogger.warn_orbspecific_interposition_resources_restricted_contxfound_1( "ServerRestrictedNestedAction.child", Integer.toString(children.size())); throw new TxError(jtsLogger.i18NLogger.get_orbspecific_interposition_resources_restricted_contx_1()); } else { if (children.size() == 1) toReturn = (ServerRestrictedNestedAction) children.remove(0); } return toReturn; }
if (nestedAction.get_uid().equals( Utility.otidToUid(context.parents[i].otid))) nestedAction = nestedAction.child(); .otidToUid(context.parents[j].otid), tmpCoord, tmpTerm, control); nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); // does dispose as well! nestedAction = null; nestedAction = nestedAction.child(); while (nestedAction.child() != null) nestedAction = nestedAction.child(); currentUid = nestedAction.get_uid(); currentUid = nestedAction.get_uid(); nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); // does dispose as well! nestedAction = null;
control); nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); nestedAction = null; nestedAction = new ServerRestrictedNestedAction(control); if (!nestedAction.valid()) nestedAction.rollback(); nestedAction = null;
public final synchronized ServerControl deepestControl () { ServerRestrictedNestedAction myChild = child(); if (myChild != null) return myChild.deepestControl(); else return control(); }
/** * @message com.arjuna.ats.internal.jts.orbspecific.interposition.resources.restricted.contxfound_1 {0} - found concurrent transactions! * @message com.arjuna.ats.internal.jts.orbspecific.interposition.resources.restricted.contx_1 {0} Concurrent children found for restricted interposition! */ public final synchronized ServerRestrictedNestedAction child () { ServerRestrictedNestedAction toReturn = null; List<ServerNestedAction> children = getChildren(); // There should be only one child! if (children.size() != 1) { if (jtsLogger.loggerI18N.isWarnEnabled()) { jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.orbspecific.interposition.resources.restricted.contxfound_1", new Object[] {"ServerRestrictedNestedAction.child"}); } throw new com.arjuna.ats.jts.exceptions.TxError(jtsLogger.logMesg.getString("com.arjuna.ats.internal.jts.orbspecific.interposition.resources.restricted.contx_2")); } else { toReturn = (ServerRestrictedNestedAction) children.remove(0); } return toReturn; }
public final synchronized ServerControl deepestControl () { ServerRestrictedNestedAction myChild = child(); if (myChild != null) return myChild.deepestControl(); else return control(); }