API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.rmi. PortableRemoteObject View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      PortableRemoteObject
Implements
Subclasses
Description
public class PortableRemoteObject
  Server implementation objects may either inherit from javax.rmi.PortableRemoteObject or they may implement a remote interface and then use the exportObject method to register themselves as a server object.
See also:   
Constructors
protected PortableRemoteObject () throws RemoteException
  Initializes the object by calling exportObject(this).
Methods
Hide/Show inherited methods
publicstatic void connect (Remote target, Remote source) throws RemoteException
  Makes a Remote object ready for remote communication.
publicstatic void exportObject (Remote obj) throws RemoteException
  Makes a server object ready to receive remote calls.
publicstatic Object narrow (Object narrowFrom, Class narrowTo) throws ClassCastException
  Checks to ensure that an object of a remote or abstract interface type can be cast to a desired type.
publicstatic Remote toStub (Remote obj) throws NoSuchObjectException
  Returns a stub for the given server object.
publicstatic void unexportObject (Remote obj) throws NoSuchObjectException
  Deregisters a server object from the runtime, allowing the object to become available for garbage collection.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar