badserveridhandler.java

来自「java jdk 1.4的源码」· Java 代码 · 共 39 行

JAVA
39
字号
/* * @(#)BadServerIdHandler.java	1.10 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. *//* * @(#)BadServerIdHandler.java 1.10 03/11/18 * * Copyright 1993-1997 Sun Microsystems, Inc. 901 San Antonio Road, * Palo Alto, California, 94303, U.S.A.  All Rights Reserved. * * This software is the confidential and proprietary information of Sun * Microsystems, Inc. ("Confidential Information").  You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Sun. * * CopyrightVersion 1.2 * */package com.sun.corba.se.internal.POA;import com.sun.corba.se.internal.ior.ObjectKey;/** * The bad server id handler is used to locate persistent objects. * The Locator object registers the BadServerIdHandler with the ORB * and when requests for persistent objects for servers (other than * itself) comes, it throws a ForwardException with the IOR pointing * to the active server. */public interface BadServerIdHandler{    void handle(ObjectKey objectKey)	throws ForwardException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?