Interface TOA

All Superinterfaces:
ObjectAdapter
All Known Implementing Classes:
TOAImpl

public interface TOA extends ObjectAdapter
The Transient Object Adapter is used for standard RMI-IIOP and Java-IDL (legacy JDK 1.2) object implementations. Its protocol for managing objects is very simple: just connect and disconnect. There is only a single TOA instance per ORB, and its lifetime is the same as the ORB. The TOA instance is always ready to receive messages except when the ORB is shutting down.
  • Method Details

    • connect

      void connect(Object servant)
      Connect the given servant to the ORB by allocating a transient object key and creating an IOR and object reference using the current factory.
      Parameters:
      servant - servant to connect to the ORB
    • disconnect

      void disconnect(Object obj)
      Disconnect the object from this ORB.
      Parameters:
      obj - ORB to disconnect from