Package javax.transaction

Provides the API that defines the contract between the transaction manager and the various parties involved in a distributed transaction namely : resource manager, application, and application server.

See: Description

  • Interface Summary 
    Interface Description
    Status
    The Status interface defines static variables used for transaction status codes.
    Synchronization
    The transaction manager supports a synchronization mechanism that allows the interested party to be notified before and after the transaction completes.
    Transaction
    The Transaction interface allows operations to be performed against the transaction in the target Transaction object.
    TransactionManager
    The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
    TransactionSynchronizationRegistry
    This interface is intended for use by system level application server components such as persistence managers, resource adapters, as well as EJB and Web application components.
    UserTransaction
    The UserTransaction interface defines the methods that allow an application to explicitly manage transaction boundaries.

    Eerste pagina van API Java Inhoudsopgave Haut

  • Enum Summary 
    Enum Description
    Transactional.TxType
    The TxType element of the annotation indicates whether a bean method is to be executed within a transaction context where the values provide the following corresponding behavior.

    Eerste pagina van API Java Inhoudsopgave Haut

  • Exception Summary 
    Exception Description
    HeuristicCommitException
    This exception is thrown by the rollback operation on a resource to report that a heuristic decision was made and that all relevant updates have been committed.
    HeuristicMixedException
    This exception is thrown to report that a heuristic decision was made and that some relevant updates have been committed and others have been rolled back.
    HeuristicRollbackException
    This exception is thrown by the commit operation to report that a heuristic decision was made and that all relevant updates have been rolled back.
    InvalidTransactionException
    This exception indicates that the request carried an invalid transaction context.
    NotSupportedException
    NotSupportedException exception indicates that the request cannot be executed because the operation is not a supported feature.
    RollbackException
    RollbackException exception is thrown when the transaction has been marked for rollback only or the transaction has been rolled back instead of committed.
    SystemException
    The SystemException is thrown by the transaction manager to indicate that it has encountered an unexpected error condition that prevents future transaction services from proceeding.
    TransactionalException
    The TransactionalException thrown from the Transactional interceptors implementation contains the original exception as its nested exception and is a RuntimeException, therefore, by default any transaction that was started as a result of a Transactional annotation earlier in the call stream will be marked for rollback as a result of the TransactionalException being thrown by the Transactional interceptor of the second bean.
    TransactionRequiredException
    This exception indicates that a request carried a null transaction context, but the target object requires an active transaction.
    TransactionRolledbackException
    This exception indicates that the transaction associated with processing of the request has been rolled back, or it has been marked to roll back.

    Eerste pagina van API Java Inhoudsopgave Haut

  • Annotation Types Summary 
    Annotation Type Description
    Transactional
    The javax.transaction.Transactional annotation provides the application the ability to declaratively control transaction boundaries on CDI managed beans, as well as classes defined as managed beans by the Java EE specification, at both the class and method level where method level annotations override those at the class level.
    TransactionScoped
    The javax.transaction.TransactionScoped annotation provides the ability to specify a standard CDI scope to define bean instances whose lifecycle is scoped to the currently active JTA transaction.

    Eerste pagina van API Java Inhoudsopgave Haut

Package javax.transaction Description

Provides the API that defines the contract between the transaction manager and the various parties involved in a distributed transaction namely : resource manager, application, and application server. The implementation of this API is provided by the application server vendor and the resource manager driver vendor.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/transaction/package-summary.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com, javax.transaction (Java(TM) EE 7 Specification APIs)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.