Unreferenced (Java SE 17 & JDK 17)
Description: declaration: module: java.rmi, package: java.rmi.server, interface: Unreferenced
Keywords: java.rmi.server.Unreferenced interface

Module java.rmi
Package java.rmi.server

# Interface Unreferenced

All Known Implementing Classes:
  `RMIConnectionImpl`

public interface Unreferenced
A remote object implementation should implement the `Unreferenced` interface to receive notification when there are no more clients that reference that remote object.

Since:
  1.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `unreferenced()`
  Called by the RMI runtime sometime after the runtime determines that the reference list, the list of clients referencing the remote object, becomes empty.

- ## Method Details

  - ### unreferenced

    void unreferenced()
    Called by the RMI runtime sometime after the runtime determines that the reference list, the list of clients referencing the remote object, becomes empty.
    Since:
      1.1