BasicAction does most of the work of an atomic action, but does not manage thread scoping. This is the responsibility of any derived classes.
@author Mark Little (mark@arjuna.com)
@version $Id: BasicAction.java 2342 2006-03-30 13:06:17Z $
@since JTS 1.0.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_1[com.arjuna.ats.arjuna.coordinator.BasicAction_1] - Action nesting error - deletion of action id {0} invoked while child actions active
@message com.arjuna.ats.arjuna.coordinator.BasicAction_2[com.arjuna.ats.arjuna.coordinator.BasicAction_2] - Aborting child {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_3[com.arjuna.ats.arjuna.coordinator.BasicAction_3] - Destructor of still running action id {0} invoked - Aborting
@message com.arjuna.ats.arjuna.coordinator.BasicAction_5[com.arjuna.ats.arjuna.coordinator.BasicAction_5] - Activate of atomic action with id {0} and type {1} unexpectedly failed
@message com.arjuna.ats.arjuna.coordinator.BasicAction_6[com.arjuna.ats.arjuna.coordinator.BasicAction_6] - BasicAction::addChildThread () action {0} adding {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_7[com.arjuna.ats.arjuna.coordinator.BasicAction_7] - BasicAction::addChildThread () action {0} adding {1} result = {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_8[com.arjuna.ats.arjuna.coordinator.BasicAction_8] - BasicAction::removeChildThread () action {0} removing {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_9[com.arjuna.ats.arjuna.coordinator.BasicAction_9] - \ BasicAction::removeChildThread () action {0} removing {1} result = {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_10[com.arjuna.ats.arjuna.coordinator.BasicAction_10] - BasicAction::addAction () action {0} adding {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_11[com.arjuna.ats.arjuna.coordinator.BasicAction_11] - BasicAction::addChildAction () action {0} adding {1} result = {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_12[com.arjuna.ats.arjuna.coordinator.BasicAction_12] - BasicAction::removeChildAction () action {0} removing {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_13[com.arjuna.ats.arjuna.coordinator.BasicAction_13] - BasicAction::removeChildAction () action {0} removing {1} result = {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_14[com.arjuna.ats.arjuna.coordinator.BasicAction_14] - BasicAction::save_state - next record to pack is a \n {0} record ({1}) should save it? = {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_15[com.arjuna.ats.arjuna.coordinator.BasicAction_15] - Packing a {0} record
@message com.arjuna.ats.arjuna.coordinator.BasicAction_16[com.arjuna.ats.arjuna.coordinator.BasicAction_16] - Packing a NONE_RECORD
@message com.arjuna.ats.arjuna.coordinator.BasicAction_17[com.arjuna.ats.arjuna.coordinator.BasicAction_17] - HeuristicList - packing a {0} record
@message com.arjuna.ats.arjuna.coordinator.BasicAction_18[com.arjuna.ats.arjuna.coordinator.BasicAction_18] - HeuristicList - packing a NONE_RECORD
@message com.arjuna.ats.arjuna.coordinator.BasicAction_19[com.arjuna.ats.arjuna.coordinator.BasicAction_19] - Packing action status of {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_20[com.arjuna.ats.arjuna.coordinator.BasicAction_20] - Unpacked a {0} record
@message com.arjuna.ats.arjuna.coordinator.BasicAction_21[com.arjuna.ats.arjuna.coordinator.BasicAction_21] - BasicAction.restore_state - could not recover {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_22[com.arjuna.ats.arjuna.coordinator.BasicAction_22] - HeuristicList - Unpacked heuristic list size of {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_23[com.arjuna.ats.arjuna.coordinator.BasicAction_23] - HeuristicList - Unpacked a {0} record
@message com.arjuna.ats.arjuna.coordinator.BasicAction_24[com.arjuna.ats.arjuna.coordinator.BasicAction_24] - BasicAction.restore_state - error unpacking action status.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_25[com.arjuna.ats.arjuna.coordinator.BasicAction_25] - Restored action status of {0} {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_26[com.arjuna.ats.arjuna.coordinator.BasicAction_26] - Restored action type {0} {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_27[com.arjuna.ats.arjuna.coordinator.BasicAction_27] - Restored heuristic decision of {0} {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_28[com.arjuna.ats.arjuna.coordinator.BasicAction_28] - BasicAction.destroy called on {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_29[com.arjuna.ats.arjuna.coordinator.BasicAction_29] - BasicAction.Begin of action {0} ignored - incorrect invocation sequence {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_30[com.arjuna.ats.arjuna.coordinator.BasicAction_30] - BasicAction.Begin of action {0} ignored - no parent and set as nested action!
@message com.arjuna.ats.arjuna.coordinator.BasicAction_31[com.arjuna.ats.arjuna.coordinator.BasicAction_31] - BasicAction.Begin of action {0} ignored - parent action {1} is not running: {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_32[com.arjuna.ats.arjuna.coordinator.BasicAction_32] - The Arjuna licence does not permit any further transactions to be committed!
@message com.arjuna.ats.arjuna.coordinator.BasicAction_33[com.arjuna.ats.arjuna.coordinator.BasicAction_33] - End called on non-running atomic action {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_34[com.arjuna.ats.arjuna.coordinator.BasicAction_34] - End called on already committed atomic action {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_35[com.arjuna.ats.arjuna.coordinator.BasicAction_35] - End called illegally on atomic action {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_36[com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id {0} failed.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_37[com.arjuna.ats.arjuna.coordinator.BasicAction_37] - Received heuristic: {0} .
@message com.arjuna.ats.arjuna.coordinator.BasicAction_38[com.arjuna.ats.arjuna.coordinator.BasicAction_38] - Action Aborting
@message com.arjuna.ats.arjuna.coordinator.BasicAction_39[com.arjuna.ats.arjuna.coordinator.BasicAction_39] - Abort called on non-running atomic action {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_40[com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_41[com.arjuna.ats.arjuna.coordinator.BasicAction_41] - Abort called illegaly on atomic action {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_42[com.arjuna.ats.arjuna.coordinator.BasicAction_42] - BasicAction {0} - non-empty ( {1} ) pendingList {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_43[com.arjuna.ats.arjuna.coordinator.BasicAction_43] - Transaction {0} marked as rollback only. Will abort.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_44[com.arjuna.ats.arjuna.coordinator.BasicAction_44] - Cannot force parent to rollback - no handle!
@message com.arjuna.ats.arjuna.coordinator.BasicAction_45[com.arjuna.ats.arjuna.coordinator.BasicAction_45] - BasicAction::prepare - creating intentions list failed for {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_46[com.arjuna.ats.arjuna.coordinator.BasicAction_46] - BasicAction::prepare - intentions list write failed for {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_47[com.arjuna.ats.arjuna.coordinator.BasicAction_47] - One-phase commit of action {0} received heuristic decision: {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_48[com.arjuna.ats.arjuna.coordinator.BasicAction_48] - BasicAction.onePhaseCommit failed - no object store for atomic action state!
@message com.arjuna.ats.arjuna.coordinator.BasicAction_49[com.arjuna.ats.arjuna.coordinator.BasicAction_49] - Prepare phase of nested action {0} received inconsistent outcomes.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_50[com.arjuna.ats.arjuna.coordinator.BasicAction_50] - Prepare phase of action {0} received heuristic decision: {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_51[com.arjuna.ats.arjuna.coordinator.BasicAction_51] - BasicAction.doCommit for {0} received {1} from {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_52[com.arjuna.ats.arjuna.coordinator.BasicAction_52] - Top-level abort of action {0} received heuristic decision: {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_53[com.arjuna.ats.arjuna.coordinator.BasicAction_53] - Nested abort of action {0} received heuristic decision: {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_54[com.arjuna.ats.arjuna.coordinator.BasicAction_54] - Top-level abort of action {0} received {1} from {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_55[com.arjuna.ats.arjuna.coordinator.BasicAction_55] - Nested abort of action {0} received {1} from {2}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_56[com.arjuna.ats.arjuna.coordinator.BasicAction_56] - BasicAction.checkIsCurrent {0} - terminating non-current transaction: {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_57[com.arjuna.ats.arjuna.coordinator.BasicAction_57] - Commit of action id {0} invoked while multiple threads active within it.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_58[com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id {0} invoked while multiple threads active within it.
@message com.arjuna.ats.arjuna.coordinator.BasicAction_59[com.arjuna.ats.arjuna.coordinator.BasicAction_59] - Commit of action id {0} invoked while child actions active
@message com.arjuna.ats.arjuna.coordinator.BasicAction_60[com.arjuna.ats.arjuna.coordinator.BasicAction_60] - Abort of action id {0} invoked while child actions active
@message com.arjuna.ats.arjuna.coordinator.BasicAction_61[com.arjuna.ats.arjuna.coordinator.BasicAction_61] - \tAborting child: {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_62[com.arjuna.ats.arjuna.coordinator.BasicAction_62] - \tNow aborting self: {0}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_63[com.arjuna.ats.arjuna.coordinator.BasicAction_63] - BasicAction::removeAllChildThreads () action {0} removing {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_64[com.arjuna.ats.arjuna.coordinator.BasicAction_64] - BasicAction.updateState - Could not create ObjectState for failedList
@message com.arjuna.ats.arjuna.coordinator.BasicAction_65[com.arjuna.ats.arjuna.coordinator.BasicAction_65] - BasicAction.End - Could not write failed list
@message com.arjuna.ats.arjuna.coordinator.BasicAction_66[com.arjuna.ats.arjuna.coordinator.BasicAction_66] - Action {0} with parent status {1}
@message com.arjuna.ats.arjuna.coordinator.BasicAction_67[com.arjuna.ats.arjuna.coordinator.BasicAction_67] - Running Top Level Action {0} from within nested action ({1})
@message com.arjuna.ats.arjuna.coordinator.BasicAction_68[com.arjuna.ats.arjuna.coordinator.BasicAction_68] - (Internal) BasicAction.merge - record rejected
@message com.arjuna.ats.arjuna.coordinator.BasicAction_69[com.arjuna.ats.arjuna.coordinator.BasicAction_69] - No object store for:
@message com.arjuna.ats.arjuna.coordinator.BasicAction_70[com.arjuna.ats.arjuna.coordinator.BasicAction_70] - Could not remove intentions list:
@message com.arjuna.ats.arjuna.coordinator.BasicAction_71[com.arjuna.ats.arjuna.coordinator.BasicAction_71] - Deactivation of atomic action with id {0} and type {1} unexpectedly failed
Standard interface for rendering content where execute() is used to produce a String which is mapped to an ActionForward using Strut's ActionMapping.findForward(String) method
@author Phil Zoio
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.