KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > rmi > server > Unreferenced


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
8 package java.rmi.server;
9
10 /**
11  * A remote object implementation should implement the
12  * <code>Unreferenced</code> interface to receive notification when there are
13  * no more clients that reference that remote object.
14  *
15  * @version 1.12, 12/19/03
16  * @author Ann Wollrath
17  * @author Roger Riggs
18  * @since JDK1.1
19  */

20 public interface Unreferenced {
21     /**
22      * Called by the RMI runtime sometime after the runtime determines that
23      * the reference list, the list of clients referencing the remote object,
24      * becomes empty.
25      * @since JDK1.1
26      */

27     public void unreferenced();
28 }
29
Popular Tags