KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA_2_3 > portable > ObjectImpl


1 /*
2  * @(#)ObjectImpl.java 1.13 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 /*
8  * Licensed Materials - Property of IBM
9  * RMI-IIOP v1.0
10  * Copyright IBM Corp. 1998 1999 All Rights Reserved
11  *
12  * US Government Users Restricted Rights - Use, duplication or
13  * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
14  */

15
16 package org.omg.CORBA_2_3.portable;
17
18 import org.omg.CORBA_2_3.portable.Delegate JavaDoc;
19
20 /**
21  * ObjectImpl class is the base class for all stubs. It provides the
22  * basic delegation mechanism. It extends org.omg.CORBA.portable.ObjectImpl
23  * and provides new methods defined by CORBA 2.3.
24  *
25  * @see org.omg.CORBA.portable.ObjectImpl
26  * @author OMG
27  * @version 1.13 12/19/03
28  * @since JDK1.2
29  */

30
31
32 public abstract class ObjectImpl extends org.omg.CORBA.portable.ObjectImpl JavaDoc {
33
34     /** Returns the codebase for this object reference.
35      * @return the codebase as a space delimited list of url strings or
36      * null if none.
37      */

38     public java.lang.String JavaDoc _get_codebase() {
39     org.omg.CORBA.portable.Delegate JavaDoc delegate = _get_delegate();
40     if (delegate instanceof Delegate JavaDoc)
41         return ((Delegate JavaDoc) delegate).get_codebase(this);
42     return null;
43     }
44 }
45
Popular Tags