Name

UnicastRemoteObject

Synopsis

This represents a non-replicated remote object., e.g., one that lives as a singular implementation on a server, with point-to-point connections to each client. through reference stubs. This remote server class does not implement persistence, so client references to the object are only valid during the lifetime of the object.

                  Returned By
public class UnicastRemoteObject extends RemoteServer {
// Protected Constructors
   protected UnicastRemoteObject() throws RemoteException;  
   protected UnicastRemoteObject(                                // 1.2
        int port) throws RemoteException;  
   protected UnicastRemoteObject(int port,                       // 1.2
        RMIClientSocketFactory csf, 
        RMIServerSocketFactory ssf) throws RemoteException;  
// Public Class Methods
   public static RemoteStub exportObject(
        Remote obj) throws RemoteException;  
   public static Remote exportObject(Remote obj,                 // 1.2
        int port) throws RemoteException;  
   public static Remote exportObject(Remote obj, int port,       // 1.2
        RMIClientSocketFactory csf, 
        RMIServerSocketFactory ssf) throws RemoteException;  
   public static boolean unexportObject(Remote obj,              // 1.2
        boolean force) throws NoSuchObjectException;  
// Public Methods Overriding Object
   public Object clone() throws CloneNotSupportedException;  
}

Subclasses

java.rmi.activation.ActivationGroup

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.