KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > org > omg > C > ORB


1 /*
2  * @(#)ORB.java 1.4 04/04/07
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.org.omg.CORBA ;
9
10 import org.omg.CORBA.ORBPackage.InvalidName JavaDoc ;
11
12 /** This ORB class is defined to provide a home for the
13 * register_initial_reference operation, which is added by
14 * portable interceptors and CORBA 2.4. It is added here
15 * until there is an official Java language mapping for the
16 * method.
17 */

18 abstract public class ORB extends org.omg.CORBA_2_3.ORB JavaDoc
19 {
20     /**
21      * If this operation is called with an id, <code>"Y"</code>, and an
22      * object, <code>YY</code>, then a subsequent call to
23      * <code>ORB.resolve_initial_references( "Y" )</code> will
24      * return object <code>YY</code>.
25      *
26      * @param id The ID by which the initial reference will be known.
27      * @param obj The initial reference itself.
28      * @throws InvalidName if this operation is called with an empty string id
29      * or this operation is called with an id that is already registered,
30      * including the default names defined by OMG.
31      * @throws BAD_PARAM if the obj parameter is null.
32      */

33     public void register_initial_reference( String JavaDoc id,
34                                             org.omg.CORBA.Object JavaDoc obj )
35         throws InvalidName JavaDoc
36     {
37         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
38     }
39 }
40
Popular Tags