All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----javax.ejb.deployment.TransactionAttribute
public static final int NOT_SUPPORTED
public static final int BEAN_MANAGED
public static final int REQUIRED
If the caller is associated with a transaction, the execution of the enterprise bean method will be associated with the caller's transaction.
If the caller is not associated with a transaction, the container starts a new transaction, executes the enterprise bean's method in the scope of the transaction, and commits the transaction when the enterprise bean's method has completed.
public static final int SUPPORTS
If the caller is associated with a transaction, the execution of the enterprise bean method will be associated with the caller's transaction.
If the caller is not associated with a transaction, the container executes the enterprise bean's method without a transaction.
public static final int REQUIRES_NEW
The container starts a new transaction, executes the enterprise bean's method in the scope of the new transaction, and commits the new transaction when the enterprise bean's method has completed.
If the caller is associated with a transaction, the association of the current thread with the caller's transaction is suspended during the execution of the enterprise bean's method, and resumed when the enterprise bean's method has completed.
public static final int MANDATORY
If the caller is associated with a transaction, the execution of the enterprise bean method will be associated with the caller's transaction.
If the caller is not associated with a transaction, the container throws the java.jts.TransactionRequiredException to the caller.
public TransactionAttribute()
All Packages Class Hierarchy This Package Previous Next Index