public class TransactionCurrentImpl extends LocalObject implements Current
Constructor and Description |
---|
TransactionCurrentImpl()
Creates a non-functional current.
|
TransactionCurrentImpl(ORB orb,
int slot_id) |
Modifier and Type | Method and Description |
---|---|
void |
begin()
Start a new transaction.
|
void |
commit(boolean report_heuristics) |
Control |
get_control()
This and the following method should actually throw
NoTransaction, but that is against the spec.
|
Status |
get_status() |
String |
get_transaction_name() |
static Control |
getControl(ORB orb)
This method is a convenience method for the server
programmer the exctract the Control from the
PICurrent.
|
void |
resume(Control which) |
void |
rollback_only() |
void |
rollback() |
void |
set_timeout(int seconds) |
void |
setCurrentThreadContext(Control control) |
Control |
suspend() |
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public TransactionCurrentImpl(ORB orb, int slot_id)
public TransactionCurrentImpl()
public static Control getControl(ORB orb)
public void begin() throws SubtransactionsUnavailable
SubtransactionsUnavailable
public void commit(boolean report_heuristics) throws NoTransaction, HeuristicMixed, HeuristicHazard
public Control get_control()
public Status get_status()
public String get_transaction_name()
public void resume(Control which) throws InvalidControl
InvalidControl
public void rollback() throws NoTransaction
NoTransaction
public void rollback_only() throws NoTransaction
NoTransaction
public void set_timeout(int seconds)
public Control suspend()
public void setCurrentThreadContext(Control control)
Copyright © 2017 JacORB. All rights reserved.