Java javax.ejb TransactionAttributeType fields, constructors, methods, implement or subclass

Example usage for Java javax.ejb TransactionAttributeType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.ejb TransactionAttributeType.

The text is from its open source code.

Field

TransactionAttributeTypeMANDATORY
If a client invokes the enterprise bean's method while the client is associated with a transaction context, the container invokes the enterprise bean's method in the client's transaction context.
TransactionAttributeTypeREQUIRED
If a client invokes the enterprise bean's method while the client is associated with a transaction context, the container invokes the enterprise bean's method in the client's transaction context.
TransactionAttributeTypeREQUIRES_NEW
The container must invoke an enterprise bean method whose transaction attribute is set to REQUIRES_NEW with a new transaction context.
TransactionAttributeTypeSUPPORTS
If the client calls with a transaction context, the container performs the same steps as described in the REQUIRED case.
TransactionAttributeTypeNOT_SUPPORTED
The container invokes an enterprise bean method whose transaction attribute NOT_SUPPORTED with an unspecified transaction context.
TransactionAttributeTypeNEVER
The client is required to call without a transaction context, otherwise an exception is thrown.