Example usage for Java javax.ejb TransactionAttributeType fields, constructors, methods, implement or subclass
The text is from its open source code.
TransactionAttributeType | MANDATORY 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. |
TransactionAttributeType | REQUIRED 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. |
TransactionAttributeType | REQUIRES_NEW The container must invoke an enterprise bean method whose transaction attribute is set to REQUIRES_NEW with a new transaction context. |
TransactionAttributeType | SUPPORTS If the client calls with a transaction context, the container performs the same steps as described in the REQUIRED case. |
TransactionAttributeType | NOT_SUPPORTED The container invokes an enterprise bean method whose transaction attribute NOT_SUPPORTED with an unspecified transaction context. |
TransactionAttributeType | NEVER The client is required to call without a transaction context, otherwise an exception is thrown. |