Update of /cvsroot/velcro/velcro/main/src/java/velcro/messaging
In directory sc8-pr-cvs1:/tmp/cvs-serv1561/main/src/java/velcro/messaging
Modified Files:
ActionMessage.java
Log Message:
Added transaction constants for phases.
Index: ActionMessage.java
===================================================================
RCS file: /cvsroot/velcro/velcro/main/src/java/velcro/messaging/ActionMessage.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ActionMessage.java 29 Oct 2002 18:41:37 -0000 1.2
--- ActionMessage.java 4 Dec 2002 04:13:03 -0000 1.3
***************
*** 40,51 ****
public interface ActionMessage extends Serializable {
/**
* The default phase an <code>ActionMessage</code> object should be set to when constructed.
*/
public static final String PHASE_INIT = "INIT";
/**
! * The phase an <code>ActionMessage</code> object is when it is done being processed.
*/
! public static final String PHASE_DONE = "DONE";
/**
--- 40,66 ----
public interface ActionMessage extends Serializable {
/**
+ * The phase an <code>ActionMessage</code> object is when it is done being processed.
+ */
+ public static final String PHASE_DONE = "DONE";
+
+ /**
* The default phase an <code>ActionMessage</code> object should be set to when constructed.
*/
public static final String PHASE_INIT = "INIT";
+
+ /**
+ * The phase a message is in right after committing the transaction.
+ */
+ public static final String PHASE_POST_COMMIT = "POST-COMMIT";
/**
! * The phase a message is in right before committing the transaction.
*/
! public static final String PHASE_PRE_COMMIT = "PRE-COMMIT";
!
! /**
! * The phase a message is in after a transaction has been rolled back.
! */
! public static final String PHASE_ROLLBACK = "PRE-ROLLBACK";
/**
***************
*** 159,162 ****
--- 174,180 ----
/*
* $Log$
+ * Revision 1.3 2002/12/04 04:13:03 heathm
+ * Added transaction constants for phases.
+ *
* Revision 1.2 2002/10/29 18:41:37 heathm
* Renamed state to phase.
|