Unexports the remote object exported via the exporter's {@link #export export} method such that incoming remote callsto the object identifier in this exporter are no longer accepted through the server endpoint in this exporter.
If force
is true
, the object is forcibly unexported even if there are pending or in-progress remote calls to the object identifier through the server endpoint. If force
is false
, the object is only unexported if there are no pending or in-progress remote calls to the object identifier through the server endpoint.
The return value is true
if the object is (or was previously) unexported, and false
if the object is still exported.
@throws IllegalStateException {@inheritDoc}