notlocallocalcrdimpl.java
来自「JAVA 所有包」· Java 代码 · 共 50 行
JAVA
50 行
/* * @(#)NotLocalLocalCRDImpl.java 1.12 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.impl.protocol;import org.omg.CORBA.INTERNAL;import org.omg.CORBA.portable.ServantObject;import com.sun.corba.se.spi.protocol.LocalClientRequestDispatcher ;/** * @author Harold Carr */public class NotLocalLocalCRDImpl implements LocalClientRequestDispatcher{ public boolean useLocalInvocation(org.omg.CORBA.Object self) { return false; } public boolean is_local(org.omg.CORBA.Object self) { return false; } public ServantObject servant_preinvoke(org.omg.CORBA.Object self, String operation, Class expectedType) { // REVISIT: Rewrite rmic.HelloTest and rmic.LocalStubTest // (which directly call servant_preinvoke) // then revert to exception again. return null; //throw new INTERNAL(); } public void servant_postinvoke(org.omg.CORBA.Object self, ServantObject servant) { //throw new INTERNAL(); }}// End of file.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?