|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
org.omg.CosTransactions._CurrentStub
Stub for Current
Constructor Summary | |
_CurrentStub()
|
Method Summary | |
String[] |
_ids()
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. |
void |
begin()
Create a new transaction and associate it with the current thread. |
void |
commit(boolean report_heuristics)
Complete the transaction associated with the current thread by committing all operations. |
Control |
get_control()
The Control object that represents the transaction associated with the current thread. |
Status |
get_status()
The Status of the transaction associated with the current thread. |
int |
get_timeout()
|
String |
get_transaction_name()
The printable string describing the transaction associated with the current thread. |
void |
resume(Control which)
The current tread is associated with the transaciton represented by the Control object in the parameter. |
void |
rollback_only()
The transaction associated with the current thread is modified so that the only posible outcome is to rollback the transaction. |
void |
rollback()
Complete the transaction associated with the current thread by rolling back all operations. |
void |
set_timeout(int seconds)
Set the time-out period in seconds of the transaction associated with the current thread |
Control |
suspend()
If there is a tread associated with the current thread, it is disassociated with current thread and a Control object representing the transaction is returned. |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
public _CurrentStub()
Method Detail |
public void begin() throws SubtransactionsUnavailable
CurrentOperations
begin
in interface CurrentOperations
SubtransactionsUnavailable
public void commit(boolean report_heuristics) throws NoTransaction, HeuristicMixed, HeuristicHazard
CurrentOperations
commit
in interface CurrentOperations
NoTransaction
HeuristicMixed
HeuristicHazard
public void rollback() throws NoTransaction
CurrentOperations
rollback
in interface CurrentOperations
NoTransaction
public void rollback_only() throws NoTransaction
CurrentOperations
rollback_only
in interface CurrentOperations
NoTransaction
public Status get_status()
CurrentOperations
get_status
in interface CurrentOperations
public String get_transaction_name()
CurrentOperations
get_transaction_name
in interface CurrentOperations
public void set_timeout(int seconds)
CurrentOperations
set_timeout
in interface CurrentOperations
public int get_timeout()
get_timeout
in interface CurrentOperations
public Control get_control()
CurrentOperations
get_control
in interface CurrentOperations
public Control suspend()
CurrentOperations
suspend
in interface CurrentOperations
public void resume(Control which) throws InvalidControl
CurrentOperations
resume
in interface CurrentOperations
InvalidControl
public String[] _ids()
ObjectImpl
ObjectImpl
object. For example,
for a stub, this method returns information about all the
interfaces supported by the stub.
_ids
in class ObjectImpl
ObjectImpl
instance
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |