net.fwbrasil.radon

transaction

package transaction

Visibility
  1. Public
  2. All

Type Members

  1. class Mandatory extends Propagation

    The transaction attribute Mandatory requires the container to invoke a bean's method in a client's transaction context.

    The transaction attribute Mandatory requires the container to invoke a bean's method in a client's transaction context. If the client is not associated with a transaction context when calling this method, the container throws javax.transaction.TransactionRequiredException if the client is a remote client or javax.ejb.TransactionRequiredLocalException if the client is a local client. If the calling client has a transaction context, the case is treated as Required by the container.

  2. class Nested extends Propagation

  3. final class NestedTransaction extends Transaction

  4. class Never extends Propagation

    The transaction attribute Never requires that the enterprise bean method explicitly not be called within a transaction context.

    The transaction attribute Never requires that the enterprise bean method explicitly not be called within a transaction context. If the client calls with a transaction context, the container throws java.rmi.RemoteException if the client is a remote client or javax.ejb.EJBException if the client is a local client. If the client is not associated with any transaction context, the container invokes the method without initiating a transaction.

  5. class NotSupported extends Propagation

    If the transaction attribute is NotSupported, the transactional context of the calling client is not propagated to the enterprise bean.

    If the transaction attribute is NotSupported, the transactional context of the calling client is not propagated to the enterprise bean. If a client calls with a transaction context, the container suspends the client's transaction association before invoking the enterprise bean's method. After the method completes, the container resumes the suspended transaction association.

  6. trait Propagation extends AnyRef

  7. trait PropagationContext extends AnyRef

  8. case class ReadOnly(validateCommit: Boolean = true, validateReads: Boolean = true) extends TransactionType with Product with Serializable

  9. case class ReadWrite(validateCommit: Boolean = true, validateReads: Boolean = true) extends TransactionType with Product with Serializable

  10. abstract class RefSnapshooter extends TransactionStopWatch

  11. class RefSnapshot extends AnyRef

  12. class Required extends Propagation

    If the transaction attribute is Required, the container ensures that the enterprise bean's method will always be invoked with a JTA transaction.

    If the transaction attribute is Required, the container ensures that the enterprise bean's method will always be invoked with a JTA transaction. If the calling client is associated with a JTA transaction, the enterprise bean method will be invoked in the same transaction context. However, if a client is not associated with a transaction, the container will automatically begin a new transaction and try to commit the transaction when the method completes.

  13. class RequiresNew extends Propagation

    If the transaction attribute is RequiresNew, the container always creates a new transaction before invoking the enterprise bean method and commits the transaction when the method returns.

    If the transaction attribute is RequiresNew, the container always creates a new transaction before invoking the enterprise bean method and commits the transaction when the method returns. If the calling client is associated with a transaction context, the container suspends the association of the transaction context with the current thread before starting the new transaction. When the method and the transaction complete, the container resumes the suspended transaction.

  14. class Shadow extends Propagation

  15. class Supports extends Propagation

    It the transaction attribute is Supports and the client is associated with a transaction context, the context is propagated to the enterprise bean method, similar to the way the container treats the Required case.

    It the transaction attribute is Supports and the client is associated with a transaction context, the context is propagated to the enterprise bean method, similar to the way the container treats the Required case. If the client call is not associated with any transaction context, the container behaves similarly to the NotSupported case. The transaction context is not propagated to the enterprise bean method.

  16. class Transaction extends TransactionValidator with ExclusiveThreadLocalItem

  17. trait TransactionContext extends PropagationContext

  18. class TransactionManager extends AnyRef

  19. sealed trait TransactionType extends AnyRef

  20. abstract class TransactionValidator extends RefSnapshooter

  21. class TransactionalExecutionContext extends ExecutionContext

  22. class Transient extends Propagation

Value Members

  1. object Transaction

  2. package time

Ungrouped