Package com.sun.corba.ee.impl.oa.toa
Interface TOA
- All Superinterfaces:
ObjectAdapter
- All Known Implementing Classes:
TOAImpl
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 Summary
Modifier and TypeMethodDescriptionvoid
Connect the given servant to the ORB by allocating a transient object key and creating an IOR and object reference using the current factory.void
disconnect
(Object obj) Disconnect the object from this ORB.Methods inherited from interface com.sun.corba.ee.spi.oa.ObjectAdapter
enter, exit, getAdapterTemplate, getCurrentFactory, getEffectivePolicy, getInterfaces, getInvocationServant, getIORTemplate, getLocalServant, getManagerId, getORB, getState, isNameService, makeInvocationInfo, returnServant, setCurrentFactory, setNameService
-
Method Details
-
connect
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
Disconnect the object from this ORB.- Parameters:
obj
- ORB to disconnect from
-