001 /***** Copyright (c) 2000 Object Management Group. Unlimited rights to 002 duplicate and use this code are hereby granted provided that this 003 copyright notice is included. 004 *****/ 005 006 package org.omg.CORBA; 007 import org.omg.CORBA.portable.*; 008 009 public abstract class LocalObject implements org.omg.CORBA.Object { 010 public LocalObject() 011 {} 012 public boolean _is_equivalent(org.omg.CORBA.Object that){ 013 return equals(that); 014 } 015 public boolean _non_existent(){ 016 return false; 017 } 018 public int _hash(int maximum){ 019 return hashCode(); 020 } 021 public String[] _ids() { 022 throw new NO_IMPLEMENT() ; 023 } 024 public boolean _is_a(String repositoryId){ 025 String ids[] = _ids() ; 026 for (int i = 0; i<ids.length; i++ ) { 027 if (repositoryId.equals( ids[i] )) 028 return true ; 029 } 030 031 return false ; 032 } 033 public org.omg.CORBA.Object _duplicate(){ 034 throw new org.omg.CORBA.NO_IMPLEMENT(); 035 } 036 public void _release(){ 037 throw new org.omg.CORBA.NO_IMPLEMENT(); 038 } 039 public Request _request(String operation){ 040 throw new org.omg.CORBA.NO_IMPLEMENT(); 041 } 042 public Request _create_request( 043 Context ctx, 044 String operation, 045 NVList arg_list, 046 NamedValue result){ 047 throw new org.omg.CORBA.NO_IMPLEMENT(); 048 } 049 public Request _create_request( 050 Context ctx, 051 String operation, 052 NVList arg_list, 053 NamedValue result, 054 ExceptionList exceptions, 055 ContextList contexts) { 056 throw new org.omg.CORBA.NO_IMPLEMENT(); 057 } 058 /** 059 *@deprecated Deprecated by CORBA 2.3. 060 */ 061 public org.omg.CORBA.InterfaceDef _get_interface(){ 062 throw new org.omg.CORBA.NO_IMPLEMENT(); 063 } 064 public org.omg.CORBA.Object _get_interface_def(){ 065 throw new org.omg.CORBA.NO_IMPLEMENT(); 066 } 067 public org.omg.CORBA.ORB _orb(){ 068 throw new org.omg.CORBA.NO_IMPLEMENT(); 069 } 070 public org.omg.CORBA.Policy _get_policy(int policy_type){ 071 throw new org.omg.CORBA.NO_IMPLEMENT(); 072 } 073 public org.omg.CORBA.DomainManager[] 074 _get_domain_managers(){ 075 throw new org.omg.CORBA.NO_IMPLEMENT(); 076 } 077 public org.omg.CORBA.Object _set_policy_override( 078 org.omg.CORBA.Policy[] policies, 079 org.omg.CORBA.SetOverrideType set_add){ 080 throw new org.omg.CORBA.NO_IMPLEMENT(); 081 } 082 public boolean _is_local(){ 083 throw new org.omg.CORBA.NO_IMPLEMENT(); 084 } 085 public org.omg.CORBA.portable.ServantObject _servant_preinvoke( 086 String operation, Class expectedType){ 087 throw new org.omg.CORBA.NO_IMPLEMENT(); 088 } 089 public void _servant_postinvoke( 090 org.omg.CORBA.portable.ServantObject servant){ 091 throw new org.omg.CORBA.NO_IMPLEMENT(); 092 } 093 public org.omg.CORBA.portable.OutputStream _request( 094 String operation, boolean responseExpected){ 095 throw new org.omg.CORBA.NO_IMPLEMENT(); 096 } 097 public org.omg.CORBA.portable.InputStream _invoke( 098 org.omg.CORBA.portable.OutputStream output) 099 throws org.omg.CORBA.portable.ApplicationException, 100 org.omg.CORBA.portable.RemarshalException { 101 throw new org.omg.CORBA.NO_IMPLEMENT(); 102 } 103 public void _releaseReply( 104 org.omg.CORBA.portable.InputStream input){ 105 throw new org.omg.CORBA.NO_IMPLEMENT(); 106 } 107 public boolean validate_connection(){ 108 throw new org.omg.CORBA.NO_IMPLEMENT(); 109 } 110 }