org.mockejb
Class TransactionPolicy

java.lang.Object
  extended byorg.mockejb.TransactionPolicy
All Implemented Interfaces:
java.io.Serializable

public class TransactionPolicy
extends java.lang.Object
implements java.io.Serializable

Enumeration of possible values of the transaction attribute (transaction policy) as per EJB spec.
Used for setting the policy by calling MockEjbObject.setTransactionPolicy()

Author:
Alexander Ananiev
See Also:
Serialized Form

Field Summary
static TransactionPolicy MANDATORY
           
static TransactionPolicy NEVER
           
static TransactionPolicy NOT_SUPPORTED
           
static TransactionPolicy REQUIRED
           
static TransactionPolicy REQUIRED_NEW
           
static TransactionPolicy SUPPORTS
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUPPORTS

public static final TransactionPolicy SUPPORTS

REQUIRED

public static final TransactionPolicy REQUIRED

REQUIRED_NEW

public static final TransactionPolicy REQUIRED_NEW

NOT_SUPPORTED

public static final TransactionPolicy NOT_SUPPORTED

NEVER

public static final TransactionPolicy NEVER

MANDATORY

public static final TransactionPolicy MANDATORY
Method Detail

toString

public java.lang.String toString()