Package org.omg.CORBA
Interface TSIdentification
- All Known Implementing Classes:
TSIdentificationImpl
public interface TSIdentification
An interface defined in the OMG Transactions Service Specification
that provides methods to allow the JTS to register
its Sender and Receiver interfaces with the ORB.
TSIdentification
methods are always called from the same address space (i.e. it is
a pseudo-object), hence it is not necessary to define any stubs/skeletons.
During initialization, an instance of TSIdentification
is provided
to the JTS by the ORB using the method
com.sun.corba.ee.spi.costransactions.TransactionService.identify_ORB
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
identify_receiver
(Receiver receiverOTS) Called by the OTS during initialization to register itsReceiver
callback interface with the ORB.void
identify_sender
(Sender senderOTS) Called by the OTS during initialization in order to register its Sender callback interface with the ORB.
-
Method Details
-
identify_sender
Called by the OTS during initialization in order to register its Sender callback interface with the ORB. This method may throw anAlreadyIdentified
exception if the registration has already been done previously.- Parameters:
senderOTS
- theSender
object to be registered- Throws:
NotAvailable
- if the ORB is unavailable to register the givenSender
objectAlreadyIdentified
- if the givenSender
object has already been registered with the ORB
-
identify_receiver
Called by the OTS during initialization to register itsReceiver
callback interface with the ORB. This operation may throw anAlreadyIdentified
exception if the registration has already been done previously.- Parameters:
receiverOTS
- theReceiver
object to register with the ORB- Throws:
NotAvailable
- if the ORB is unavailable to register the givenReceiver
objectAlreadyIdentified
- if the givenReceiver
object has already been registered with the ORB
-