com.sun.jini.constants
Class TxnConstants

java.lang.Object
  extended by com.sun.jini.constants.TxnConstants
All Implemented Interfaces:
TransactionConstants

public class TxnConstants
extends Object
implements TransactionConstants

Names for constants common to transaction managers and participants.

Author:
Sun Microsystems, Inc.

Field Summary
private static String[] stateNames
          Names of each of the states
 
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
 
Constructor Summary
TxnConstants()
           
 
Method Summary
static String getName(int state)
          Returns a String which describes the state of the Transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stateNames

private static final String[] stateNames
Names of each of the states

Constructor Detail

TxnConstants

public TxnConstants()
Method Detail

getName

public static String getName(int state)
Returns a String which describes the state of the Transaction.

See Also:
TransactionConstants


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.