| Package | Description | 
|---|---|
| java.rmi.activation | Provides support for RMI Object Activation. | 
| java.rmi.server | Provides classes and interfaces for supporting the server
side of RMI. | 
| javax.rmi | Contains user APIs for RMI-IIOP. | 
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | Activatable. unexportObject(Remote obj,
              boolean force)Remove the remote object, obj, from the RMI runtime. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Remote | RemoteObject. toStub(Remote obj)Returns the stub for the remote object  objpassed
 as a parameter. | 
| static boolean | UnicastRemoteObject. unexportObject(Remote obj,
              boolean force)Removes the remote object, obj, from the RMI runtime. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Remote | PortableRemoteObject. toStub(Remote obj)Returns a stub for the given server object. | 
| static void | PortableRemoteObject. unexportObject(Remote obj)Deregisters a server object from the runtime, allowing the object to become
 available for garbage collection. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Tie. deactivate()Deactivates the target object represented by this tie. | 
| Remote | PortableRemoteObjectDelegate. toStub(Remote obj)Delegation call for  PortableRemoteObject.toStub(java.rmi.Remote). | 
| static void | Util. unexportObject(Remote target)Removes the associated tie from an internal table and calls  Tie.deactivate()to deactivate the object. | 
| void | PortableRemoteObjectDelegate. unexportObject(Remote obj)Delegation call for  PortableRemoteObject.unexportObject(java.rmi.Remote). | 
| void | UtilDelegate. unexportObject(Remote target)Delegation call for  Util.unexportObject(java.rmi.Remote). | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.