Connects this stub to an ORB. Required after the stub is deserialized
but not after it is demarshalled by an ORB stream. If an unconnected
stub is passed to an ORB stream for marshalling, it is implicitly
connected to that ORB. Application code should not call this method
directly, but should call the portable wrapper method
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).
Parameters:
orb - the ORB to connect to.
Throws:
RemoteException - if the stub is already connected to a different
ORB, or if the stub does not represent an exported remote or local object.
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.