Package org.omg.CORBA
Interface TSIdentification
-
- All Known Implementing Classes:
TSIdentificationImpl
public interface TSIdentificationAn 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.TSIdentificationmethods 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 ofTSIdentificationis provided to the JTS by the ORB using the methodcom.sun.corba.ee.spi.costransactions.TransactionService.identify_ORB.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voididentify_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 Detail
-
identify_sender
void identify_sender(Sender senderOTS) throws NotAvailable, AlreadyIdentified
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
void identify_receiver(Receiver receiverOTS) throws NotAvailable, AlreadyIdentified
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
-
-