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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void identify_receiver​(Receiver receiverOTS)
      Called by the OTS during initialization to register its Receiver 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 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 an AlreadyIdentified exception if the registration has already been done previously.
        Parameters:
        senderOTS - the Sender object to be registered
        Throws:
        NotAvailable - if the ORB is unavailable to register the given Sender object
        AlreadyIdentified - if the given Sender object 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 its Receiver callback interface with the ORB. This operation may throw an AlreadyIdentified exception if the registration has already been done previously.
        Parameters:
        receiverOTS - the Receiver object to register with the ORB
        Throws:
        NotAvailable - if the ORB is unavailable to register the given Receiver object
        AlreadyIdentified - if the given Receiver object has already been registered with the ORB