org.objectweb.perseus.persistence.api
Class WorkingSetLifeCycle

java.lang.Object
  extended byorg.objectweb.perseus.persistence.api.WorkingSetLifeCycle

public class WorkingSetLifeCycle
extends java.lang.Object

Author:
S.Chassande-Barrioz

Field Summary
static byte ACTIVE_ACTION
           
static byte BEGIN_TX_ACTION
           
static byte CLOSE_ACTION
           
static byte COMMIT_ACTION
           
static byte PREPARE_ACTION
           
static byte PREPARE_FAIL_ACTION
           
static byte PREPARE_OK_ACTION
           
static byte ROLLBACK_ACTION
           
 
Constructor Summary
WorkingSetLifeCycle()
           
 
Method Summary
static java.lang.String actionToString(byte action)
           
static byte getNextStatus(byte status, byte action)
           
static java.lang.String statusToString(byte status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTIVE_ACTION

public static final byte ACTIVE_ACTION
See Also:
Constant Field Values

BEGIN_TX_ACTION

public static final byte BEGIN_TX_ACTION
See Also:
Constant Field Values

COMMIT_ACTION

public static final byte COMMIT_ACTION
See Also:
Constant Field Values

ROLLBACK_ACTION

public static final byte ROLLBACK_ACTION
See Also:
Constant Field Values

CLOSE_ACTION

public static final byte CLOSE_ACTION
See Also:
Constant Field Values

PREPARE_ACTION

public static final byte PREPARE_ACTION
See Also:
Constant Field Values

PREPARE_OK_ACTION

public static final byte PREPARE_OK_ACTION
See Also:
Constant Field Values

PREPARE_FAIL_ACTION

public static final byte PREPARE_FAIL_ACTION
See Also:
Constant Field Values
Constructor Detail

WorkingSetLifeCycle

public WorkingSetLifeCycle()
Method Detail

actionToString

public static final java.lang.String actionToString(byte action)

statusToString

public static final java.lang.String statusToString(byte status)

getNextStatus

public static byte getNextStatus(byte status,
                                 byte action)
                          throws PersistenceException
Throws:
PersistenceException


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.