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 TypeMethodDescriptionvoididentify_receiver(Receiver receiverOTS) Called by the OTS during initialization to register itsReceivercallback interface with the ORB.voididentify_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 anAlreadyIdentifiedexception if the registration has already been done previously.- Parameters:
senderOTS- theSenderobject to be registered- Throws:
NotAvailable- if the ORB is unavailable to register the givenSenderobjectAlreadyIdentified- if the givenSenderobject has already been registered with the ORB
-
identify_receiver
Called by the OTS during initialization to register itsReceivercallback interface with the ORB. This operation may throw anAlreadyIdentifiedexception if the registration has already been done previously.- Parameters:
receiverOTS- theReceiverobject to register with the ORB- Throws:
NotAvailable- if the ORB is unavailable to register the givenReceiverobjectAlreadyIdentified- if the givenReceiverobject has already been registered with the ORB
-