1. /*
  2. * @(#)ORB.java 1.4 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.org.omg.CORBA ;
  8. import org.omg.CORBA.ORBPackage.InvalidName ;
  9. /** This ORB class is defined to provide a home for the
  10. * register_initial_reference operation, which is added by
  11. * portable interceptors and CORBA 2.4. It is added here
  12. * until there is an official Java language mapping for the
  13. * method.
  14. */
  15. abstract public class ORB extends org.omg.CORBA_2_3.ORB
  16. {
  17. /**
  18. * If this operation is called with an id, <code>"Y"</code>, and an
  19. * object, <code>YY</code>, then a subsequent call to
  20. * <code>ORB.resolve_initial_references( "Y" )</code> will
  21. * return object <code>YY</code>.
  22. *
  23. * @param id The ID by which the initial reference will be known.
  24. * @param obj The initial reference itself.
  25. * @throws InvalidName if this operation is called with an empty string id
  26. * or this operation is called with an id that is already registered,
  27. * including the default names defined by OMG.
  28. * @throws BAD_PARAM if the obj parameter is null.
  29. */
  30. public void register_initial_reference( String id,
  31. org.omg.CORBA.Object obj )
  32. throws InvalidName
  33. {
  34. throw new org.omg.CORBA.NO_IMPLEMENT();
  35. }
  36. }