export method such that the object can no longer accept incoming remote calls that were possible as a result of exporting via this exporter. If force is true, the object is forcibly unexported even if there are pending or in progress calls to the remote object via this exporter. If force is false, the object is only unexported if there are no pending or in progress calls to the remote object via this exporter. This method is equivalent to calling java.rmi.activation.Activatable.unexportObject or java.rmi.server.UnicastRemoteObject.unexportObject and passing the "impl" that was previously passed to this exporter's export method, depending on whether or not this exporter was created with a constructor that accepted a java.rmi.activation.ActivationID value.
The return value is true if the object is (or was previously) unexported, and false if the object is still exported.
@throws IllegalStateException {@inheritDoc}
| |