1. /*
  2. * @(#)Unreferenced.java 1.9 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.rmi.server;
  11. /**
  12. * A remote object implementation should implement the
  13. * <code>Unreferenced</code> interface to receive notification when there are
  14. * no more clients that reference that remote object.
  15. *
  16. * @version 1.9, 02/02/00
  17. * @author Ann Wollrath
  18. * @author Roger Riggs
  19. * @since JDK1.1
  20. */
  21. public interface Unreferenced {
  22. /**
  23. * Called by the RMI runtime sometime after the runtime determines that
  24. * the reference list, the list of clients referencing the remote object,
  25. * becomes empty.
  26. * @since JDK1.1
  27. */
  28. public void unreferenced();
  29. }