1. /*
  2. * @(#)ObjectImpl.java 1.9 00/02/02
  3. *
  4. * Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. /*
  11. * Licensed Materials - Property of IBM
  12. * RMI-IIOP v1.0
  13. * Copyright IBM Corp. 1998 1999 All Rights Reserved
  14. *
  15. * US Government Users Restricted Rights - Use, duplication or
  16. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. */
  18. package org.omg.CORBA_2_3.portable;
  19. import org.omg.CORBA_2_3.portable.Delegate;
  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.9 02/02/00
  28. * @since JDK1.2
  29. */
  30. public abstract class ObjectImpl extends org.omg.CORBA.portable.ObjectImpl {
  31. /** Returns the codebase for this object reference.
  32. * @return the codebase as a space delimited list of url strings or
  33. * null if none.
  34. */
  35. public java.lang.String _get_codebase() {
  36. org.omg.CORBA.portable.Delegate delegate = _get_delegate();
  37. if (delegate instanceof Delegate)
  38. return ((Delegate) delegate).get_codebase(this);
  39. return null;
  40. }
  41. }