1. /*
  2. * @(#)ObjectKey.java 1.10 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. package com.sun.corba.se.spi.ior;
  8. import com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher ;
  9. import com.sun.corba.se.spi.orb.ORB ;
  10. /** The full object key, which is contained in an IIOPProfile.
  11. * The object identifier corresponds to the information passed into
  12. * POA::create_reference_with_id and POA::create_reference
  13. * (in the POA case). The template
  14. * represents the information that is object adapter specific and
  15. * shared across multiple ObjectKey instances.
  16. */
  17. public interface ObjectKey extends Writeable
  18. {
  19. /** Return the object identifier for this Object key.
  20. */
  21. ObjectId getId() ;
  22. /** Return the template for this object key.
  23. */
  24. ObjectKeyTemplate getTemplate() ;
  25. byte[] getBytes( org.omg.CORBA.ORB orb ) ;
  26. CorbaServerRequestDispatcher getServerRequestDispatcher( ORB orb ) ;
  27. }