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