KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > oa > poa > BadServerIdHandler


1 /*
2  * @(#)BadServerIdHandler.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  * @(#)BadServerIdHandler.java 1.12 08/02/09
9  *
10  * Copyright 1993-1997 Sun Microsystems, Inc. 901 San Antonio Road,
11  * Palo Alto, California, 94303, U.S.A. All Rights Reserved.
12  *
13  * This software is the confidential and proprietary information of Sun
14  * Microsystems, Inc. ("Confidential Information"). You shall not
15  * disclose such Confidential Information and shall use it only in
16  * accordance with the terms of the license agreement you entered into
17  * with Sun.
18  *
19  * CopyrightVersion 1.2
20  *
21  */

22
23 package com.sun.corba.se.impl.oa.poa;
24
25 import com.sun.corba.se.spi.ior.ObjectKey;
26
27 /**
28  * The bad server id handler is used to locate persistent objects.
29  * The Locator object registers the BadServerIdHandler with the ORB
30  * and when requests for persistent objects for servers (other than
31  * itself) comes, it throws a ForwardException with the IOR pointing
32  * to the active server.
33  */

34 public interface BadServerIdHandler
35 {
36     void handle(ObjectKey objectKey) ;
37 }
38
Popular Tags