1 /***** Copyright (c) 2000 Object Management Group. Unlimited rights to 2 duplicate and use this code are hereby granted provided that this 3 copyright notice is included. 4 *****/ 5 6 package org.omg.CORBA; 7 import org.omg.CORBA.portable.*; 8 9 public abstract class LocalObject implements org.omg.CORBA.Object { 10 public LocalObject() 11 {} 12 public boolean _is_equivalent(org.omg.CORBA.Object that){ 13 return equals(that); 14 } 15 public boolean _non_existent(){ 16 return false; 17 } 18 public int _hash(int maximum){ 19 return hashCode(); 20 } 21 public String[] _ids() { 22 throw new NO_IMPLEMENT() ; 23 } 24 public boolean _is_a(String repositoryId){ 25 String ids[] = _ids() ; 26 for (int i = 0; i<ids.length; i++ ) { 27 if (repositoryId.equals( ids[i] )) 28 return true ; 29 } 30 31 return false ; 32 } 33 public org.omg.CORBA.Object _duplicate(){ 34 throw new org.omg.CORBA.NO_IMPLEMENT(); 35 } 36 public void _release(){ 37 throw new org.omg.CORBA.NO_IMPLEMENT(); 38 } 39 public Request _request(String operation){ 40 throw new org.omg.CORBA.NO_IMPLEMENT(); 41 } 42 public Request _create_request( 43 Context ctx, 44 String operation, 45 NVList arg_list, 46 NamedValue result){ 47 throw new org.omg.CORBA.NO_IMPLEMENT(); 48 } 49 public Request _create_request( 50 Context ctx, 51 String operation, 52 NVList arg_list, 53 NamedValue result, 54 ExceptionList exceptions, 55 ContextList contexts) { 56 throw new org.omg.CORBA.NO_IMPLEMENT(); 57 } 58 /** 59 *@deprecated Deprecated by CORBA 2.3. 60 */ 61 public org.omg.CORBA.InterfaceDef _get_interface(){ 62 throw new org.omg.CORBA.NO_IMPLEMENT(); 63 } 64 public org.omg.CORBA.Object _get_interface_def(){ 65 throw new org.omg.CORBA.NO_IMPLEMENT(); 66 } 67 public org.omg.CORBA.ORB _orb(){ 68 throw new org.omg.CORBA.NO_IMPLEMENT(); 69 } 70 public org.omg.CORBA.Policy _get_policy(int policy_type){ 71 throw new org.omg.CORBA.NO_IMPLEMENT(); 72 } 73 public org.omg.CORBA.DomainManager[] 74 _get_domain_managers(){ 75 throw new org.omg.CORBA.NO_IMPLEMENT(); 76 } 77 public org.omg.CORBA.Object _set_policy_override( 78 org.omg.CORBA.Policy[] policies, 79 org.omg.CORBA.SetOverrideType set_add){ 80 throw new org.omg.CORBA.NO_IMPLEMENT(); 81 } 82 public boolean _is_local(){ 83 throw new org.omg.CORBA.NO_IMPLEMENT(); 84 } 85 public org.omg.CORBA.portable.ServantObject _servant_preinvoke( 86 String operation, Class expectedType){ 87 throw new org.omg.CORBA.NO_IMPLEMENT(); 88 } 89 public void _servant_postinvoke( 90 org.omg.CORBA.portable.ServantObject servant){ 91 throw new org.omg.CORBA.NO_IMPLEMENT(); 92 } 93 public org.omg.CORBA.portable.OutputStream _request( 94 String operation, boolean responseExpected){ 95 throw new org.omg.CORBA.NO_IMPLEMENT(); 96 } 97 public org.omg.CORBA.portable.InputStream _invoke( 98 org.omg.CORBA.portable.OutputStream output) 99 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 }