GNU Classpath (0.95) | |
Frames | No Frames |
1: /* ORB.java -- 2: Copyright (C) 2005, 2006 Free Software Foundation, Inc. 3: 4: This file is part of GNU Classpath. 5: 6: GNU Classpath is free software; you can redistribute it and/or modify 7: it under the terms of the GNU General Public License as published by 8: the Free Software Foundation; either version 2, or (at your option) 9: any later version. 10: 11: GNU Classpath is distributed in the hope that it will be useful, but 12: WITHOUT ANY WARRANTY; without even the implied warranty of 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14: General Public License for more details. 15: 16: You should have received a copy of the GNU General Public License 17: along with GNU Classpath; see the file COPYING. If not, write to the 18: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19: 02110-1301 USA. 20: 21: Linking this library statically or dynamically with other modules is 22: making a combined work based on this library. Thus, the terms and 23: conditions of the GNU General Public License cover the whole 24: combination. 25: 26: As a special exception, the copyright holders of this library give you 27: permission to link this library with independent modules to produce an 28: executable, regardless of the license terms of these independent 29: modules, and to copy and distribute the resulting executable under 30: terms of your choice, provided that you also meet, for each linked 31: independent module, the terms and conditions of the license of that 32: module. An independent module is a module which is not derived from 33: or based on this library. If you modify this library, you may extend 34: this exception to your version of the library, but you are not 35: obligated to do so. If you do not wish to do so, delete this 36: exception statement from your version. */ 37: 38: 39: package org.omg.CORBA_2_3; 40: 41: import javax.rmi.CORBA.Tie; 42: 43: import org.omg.CORBA.BAD_PARAM; 44: import org.omg.CORBA.NO_IMPLEMENT; 45: import org.omg.CORBA.portable.ValueFactory; 46: 47: /** 48: * This class should provide the {@link org.omg.CORBA.ORB}) ORB extensions, 49: * defined in the OMG CORBA version 2.3 specification. However in the 50: * Sun's API specification is written that this functionality is not 51: * implemented at least at least till 1.4 inclusive. 52: * 53: * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) 54: */ 55: public abstract class ORB 56: extends org.omg.CORBA.ORB 57: { 58: /** 59: * Should return a defintion of the value type as described 60: * in the interface repository. 61: * 62: * @param repository_id a value type repository id. 63: * 64: * @return never 65: * @throws BAD_PARAM never 66: * @throws NO_IMPLEMENT, always. 67: * 68: * @see org.omg.CORBA.portable.ValueBase 69: */ 70: public org.omg.CORBA.Object get_value_def(String repository_id) 71: throws BAD_PARAM 72: { 73: throw new NO_IMPLEMENT(); 74: } 75: 76: /** 77: * This should register the given value factory under the given 78: * repository id. 79: * 80: * @param repository_id a repository id 81: * 82: * @return never 83: * @throws NO_IMPLEMENT, always. 84: */ 85: public ValueFactory register_value_factory(String repository_id, 86: ValueFactory factory 87: ) 88: { 89: throw new NO_IMPLEMENT(); 90: } 91: 92: /** 93: * This should unregister the given value factory under the given 94: * repository id. 95: * 96: * @param repository_id a repository id 97: * 98: * @throws NO_IMPLEMENT, always. 99: */ 100: public void unregister_value_factory(String repository_id) 101: { 102: throw new NO_IMPLEMENT(); 103: } 104: 105: /** 106: * This should find a suitable value factory to create an instance 107: * of the value type when is being read (unmarshaled) from the 108: * stream. 109: * 110: * @param repository_id a repository id 111: * 112: * @return never 113: * @throws NO_IMPLEMENT, always. 114: */ 115: public ValueFactory lookup_value_factory(String repository_id) 116: { 117: throw new NO_IMPLEMENT(); 118: } 119: 120: /** 121: * This method is called by RMI-IIOP {@link Tie#orb(ORB)}, 122: * passing <code>this</code> as parameter. The ORB will try to connect 123: * that tie as one of its objects. 124: */ 125: public void set_delegate(java.lang.Object wrapper) 126: { 127: throw new NO_IMPLEMENT(); 128: }
GNU Classpath (0.95) |