public class ControlWrapper extends Object implements Reapable
| Constructor and Description |
|---|
ControlWrapper(Control c) |
ControlWrapper(Control c,
ControlImple impl) |
ControlWrapper(ControlImple impl) |
ControlWrapper(Control c,
Uid u) |
public ControlWrapper(Control c)
public ControlWrapper(ControlImple impl)
public ControlWrapper(Control c, ControlImple impl)
public boolean preventCommit()
preventCommit in interface Reapablepublic ControlWrapper create_subtransaction() throws Unavailable, Inactive, SubtransactionsUnavailable, SystemException
public final void commit(boolean report_heuristics)
throws Unavailable,
HeuristicMixed,
HeuristicHazard,
SystemException
public final void rollback()
throws Unavailable,
NoTransaction,
SystemException
UnavailableNoTransactionSystemExceptionpublic final void rollback_only()
throws Unavailable,
NoTransaction,
Inactive,
SystemException
public final RecoveryCoordinator register_resource(Resource r) throws Inactive, SystemException
InactiveSystemExceptionpublic final void register_subtran_aware(SubtransactionAwareResource sr) throws Inactive, NotSubtransaction, SystemException
InactiveNotSubtransactionSystemExceptionpublic final void register_synchronization(Synchronization sync) throws Inactive, SynchronizationUnavailable, SystemException
public final Status get_status() throws SystemException
SystemExceptionpublic final String get_transaction_name() throws SystemException
SystemExceptionpublic final Control get_control() throws Unavailable, SystemException
UnavailableSystemExceptionpublic final Coordinator get_coordinator() throws SystemException, Unavailable
SystemExceptionUnavailablepublic final Terminator get_terminator() throws SystemException, Unavailable
SystemExceptionUnavailablepublic final int hash_transaction()
throws SystemException
SystemExceptionpublic boolean equals(Object e)
public String toString()
public int hashCode()
public final Control getControl()
public final ControlImple getImple()
public final boolean isLocal()
public final void determineLocality()
Copyright © 2014 JBoss by Red Hat. All rights reserved.