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. package org.omg.CORBA_2_3.portable;
  16. import org.omg.CORBA_2_3.portable.Delegate;
  17. /**
  18. * ObjectImpl class is the base class for all stubs. It provides the
  19. * basic delegation mechanism. It extends org.omg.CORBA.portable.ObjectImpl
  20. * and provides new methods defined by CORBA 2.3.
  21. *
  22. * @see org.omg.CORBA.portable.ObjectImpl
  23. * @author OMG
  24. * @version 1.13 12/19/03
  25. * @since JDK1.2
  26. */
  27. public abstract class ObjectImpl extends org.omg.CORBA.portable.ObjectImpl {
  28. /** Returns the codebase for this object reference.
  29. * @return the codebase as a space delimited list of url strings or
  30. * null if none.
  31. */
  32. public java.lang.String _get_codebase() {
  33. org.omg.CORBA.portable.Delegate delegate = _get_delegate();
  34. if (delegate instanceof Delegate)
  35. return ((Delegate) delegate).get_codebase(this);
  36. return null;
  37. }
  38. }