1 /* 2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 import java.applet.Applet; 25 import java.util.Properties; 26 27 import org.omg.CORBA.Any; 28 import org.omg.CORBA.Context; 29 import org.omg.CORBA.ContextList; 30 import org.omg.CORBA.Environment; 31 import org.omg.CORBA.ExceptionList; 32 import org.omg.CORBA.NVList; 33 import org.omg.CORBA.NamedValue; 34 import org.omg.CORBA.ORB; 35 import org.omg.CORBA.Object; 36 import org.omg.CORBA.Request; 37 import org.omg.CORBA.StructMember; 38 import org.omg.CORBA.TCKind; 39 import org.omg.CORBA.TypeCode; 40 import org.omg.CORBA.UnionMember; 41 import org.omg.CORBA.WrongTransaction; 42 import org.omg.CORBA.ORBPackage.InvalidName; 43 import org.omg.CORBA.portable.OutputStream; 44 45 46 public class TestSingletonOrbImpl extends ORB { 47 48 @Override 49 protected void set_parameters(String[] args, Properties props) { 50 51 } 52 53 @Override 54 protected void set_parameters(Applet app, Properties props) { 55 56 } 57 58 @Override 59 public String[] list_initial_services() { 60 return null; 61 } 62 63 @Override 64 public Object resolve_initial_references(String object_name) 65 throws InvalidName { 66 return null; 67 } 68 69 @Override 70 public String object_to_string(Object obj) { 71 return null; 72 } 73 74 @Override 75 public Object string_to_object(String str) { 76 return null; 77 } 78 79 @Override 80 public NVList create_list(int count) { 81 return null; 82 } 83 84 @Override 85 public NamedValue create_named_value(String s, Any any, int flags) { 86 return null; 87 } 88 89 @Override 90 public ExceptionList create_exception_list() { 91 return null; 92 } 93 94 @Override 95 public ContextList create_context_list() { 96 return null; 97 } 98 99 @Override 100 public Context get_default_context() { 101 return null; 102 } 103 104 @Override 105 public Environment create_environment() { 106 return null; 107 } 108 109 @Override 110 public OutputStream create_output_stream() { 111 return null; 112 } 113 114 @Override 115 public void send_multiple_requests_oneway(Request[] req) { 116 117 } 118 119 @Override 120 public void send_multiple_requests_deferred(Request[] req) { 121 122 } 123 124 @Override 125 public boolean poll_next_response() { 126 return false; 127 } 128 129 @Override 130 public Request get_next_response() throws WrongTransaction { 131 return null; 132 } 133 134 @Override 135 public TypeCode get_primitive_tc(TCKind tcKind) { 136 return null; 137 } 138 139 @Override 140 public TypeCode create_struct_tc(String id, String name, 141 StructMember[] members) { 142 return null; 143 } 144 145 @Override 146 public TypeCode create_union_tc(String id, String name, 147 TypeCode discriminator_type, UnionMember[] members) { 148 return null; 149 } 150 151 @Override 152 public TypeCode create_enum_tc(String id, String name, String[] members) { 153 return null; 154 } 155 156 @Override 157 public TypeCode create_alias_tc(String id, String name, 158 TypeCode original_type) { 159 return null; 160 } 161 162 @Override 163 public TypeCode create_exception_tc(String id, String name, 164 StructMember[] members) { 165 return null; 166 } 167 168 @Override 169 public TypeCode create_interface_tc(String id, String name) { 170 return null; 171 } 172 173 @Override 174 public TypeCode create_string_tc(int bound) { 175 return null; 176 } 177 178 @Override 179 public TypeCode create_wstring_tc(int bound) { 180 return null; 181 } 182 183 @Override 184 public TypeCode create_sequence_tc(int bound, TypeCode element_type) { 185 return null; 186 } 187 188 @Override 189 public TypeCode create_recursive_sequence_tc(int bound, int offset) { 190 return null; 191 } 192 193 @Override 194 public TypeCode create_array_tc(int length, TypeCode element_type) { 195 return null; 196 } 197 198 @Override 199 public Any create_any() { 200 return null; 201 } 202 203 }