Novell exteNd Messaging Platform 5.2

org.omg.CosTransactions
Class CurrentPOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosTransactions.CurrentPOA
          extended byorg.omg.CosTransactions.CurrentPOATie
All Implemented Interfaces:
CurrentOperations, InvokeHandler

public class CurrentPOATie
extends CurrentPOA

Stream based POA TIE Skeleton for Current


Constructor Summary
CurrentPOATie(CurrentOperations delegate)
           
CurrentPOATie(CurrentOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
          Get the Default POA - the Root POA.
 CurrentOperations _delegate()
           
 void _delegate(CurrentOperations delegate)
           
 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.CosTransactions.CurrentPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _getClassLoader, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _setClassLoader, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentPOATie

public CurrentPOATie(CurrentOperations delegate)

CurrentPOATie

public CurrentPOATie(CurrentOperations delegate,
                     POA poa)
Method Detail

_delegate

public CurrentOperations _delegate()

_delegate

public void _delegate(CurrentOperations delegate)

_default_POA

public POA _default_POA()
Description copied from class: Servant
Get the Default POA - the Root POA.

Overrides:
_default_POA in class Servant

begin

public void begin()
           throws SubtransactionsUnavailable
Description copied from interface: CurrentOperations
Create a new transaction and associate it with the current thread.

Throws:
SubtransactionsUnavailable

commit

public void commit(boolean report_heuristics)
            throws NoTransaction,
                   HeuristicMixed,
                   HeuristicHazard
Description copied from interface: CurrentOperations
Complete the transaction associated with the current thread by committing all operations.

Throws:
NoTransaction
HeuristicMixed
HeuristicHazard

rollback

public void rollback()
              throws NoTransaction
Description copied from interface: CurrentOperations
Complete the transaction associated with the current thread by rolling back all operations.

Throws:
NoTransaction

rollback_only

public void rollback_only()
                   throws NoTransaction
Description copied from interface: CurrentOperations
The transaction associated with the current thread is modified so that the only posible outcome is to rollback the transaction.

Throws:
NoTransaction

get_status

public Status get_status()
Description copied from interface: CurrentOperations
The Status of the transaction associated with the current thread.


get_transaction_name

public String get_transaction_name()
Description copied from interface: CurrentOperations
The printable string describing the transaction associated with the current thread.


set_timeout

public void set_timeout(int seconds)
Description copied from interface: CurrentOperations
Set the time-out period in seconds of the transaction associated with the current thread


get_timeout

public int get_timeout()

get_control

public Control get_control()
Description copied from interface: CurrentOperations
The Control object that represents the transaction associated with the current thread.


suspend

public Control suspend()
Description copied from interface: CurrentOperations
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. Otherwise, a null pointer is returned.


resume

public void resume(Control which)
            throws InvalidControl
Description copied from interface: CurrentOperations
The current tread is associated with the transaciton represented by the Control object in the parameter.

Throws:
InvalidControl

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.