A component that participates in transactions can call these routines to influence the outcome of the current transaction. See Chapter 2, “Understanding Transactions and Component Lifecycles,” in the EAServer Programmer’s Guide for more information.
JagCompleteWork – Indicate that the component’s work for the current transaction was successfully finished and that this component instance should be deactivated when the method returns.
JagContinueWork – Indicate that the component should not be deactivated after the current method invocation; allow the current transaction to be committed if the component instance is deactivated.
JagDisallowCommit – Indicate that the current transaction cannot be committed because the component’s work has not been completed; the instance remains active after the current method returns.
JagInTransaction – Determine whether the current method is executing in a transaction.
JagIsRollbackOnly – Query whether the current transaction is doomed to be rolled back or is still viable.
JagRollbackWork – Indicate that the component cannot complete its work for the current transaction. The component instance will be deactivated when the method returns.
Copyright © 2005. Sybase Inc. All rights reserved. |