Lines Matching defs:transaction

26 package javax.transaction.xa;
33 * and a Transaction Manager in a distributed transaction processing
35 * this interface to support the association between a global transaction
41 * transaction manager. An example of such a resource is a database
44 * the transaction manager as a transactional resource. The transaction
46 * in a global transaction. The transaction manager uses the
48 * to associate the global transaction with the resource, and it uses the
49 * <code>end</code> method to disassociate the transaction from
51 * manager is responsible for associating the global transaction to all
54 * <p>At transaction commit time, the resource managers are informed by
55 * the transaction manager to prepare, commit, or rollback a transaction
62 /** Commits the global transaction specified by xid.
64 * @param xid A global transaction identifier
73 * <P>If the resource manager did not commit the transaction and the
82 /** Ends the work performed on behalf of a transaction branch.
84 * transaction branch specified and lets the transaction
87 * <p>If TMSUSPEND is specified in the flags, the transaction branch
88 * is temporarily suspended in an incomplete state. The transaction
93 * The resource manager may mark the transaction as rollback-only</p>
98 * @param xid A global transaction identifier that is the same as
112 * completed transaction branch.
114 * @param xid A global transaction identifier.
123 /** Obtains the current transaction timeout value set for this
130 * @return the transaction timeout value in seconds.
154 /** Ask the resource manager to prepare for a transaction commit
155 * of the transaction specified in xid.
157 * @param xid A global transaction identifier.
164 * outcome of the transaction. The possible values are: XA_RDONLY
166 * transaction, it should do so by raising an appropriate XAException
173 /** Obtains a list of prepared transaction branches from a resource
174 * manager. The transaction manager calls this method during recovery
175 * to obtain the list of transaction branches that are currently in
185 * transaction branches that are currently in a prepared or
196 * of a transaction branch.
198 * @param xid A global transaction identifier.
206 /** <P>Sets the current transaction timeout value for this <CODE>XAResource</CODE>
214 * support explicitly setting the transaction timeout value, this method
217 * @param seconds The transaction timeout value in seconds.
219 * @return <i>true</i> if the transaction timeout value is set successfully;
228 /** Starts work on behalf of a transaction branch specified in
231 * If TMJOIN is specified, the start applies to joining a transaction
233 * the start applies to resuming a suspended transaction specified in the
236 * If neither TMJOIN nor TMRESUME is specified and the transaction
241 * @param xid A global transaction identifier to be associated
260 * Disassociates the caller and marks the transaction branch
266 * Caller is joining existing transaction branch.
282 * transaction branch.
293 * Disassociates caller from a transaction branch.
300 * a transaction branch.
305 * The transaction branch has been read-only and has been committed.
310 * The transaction work has been prepared normally.