KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > ior > ObjectKey


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
8 package com.sun.corba.se.spi.ior;
9
10 import com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher ;
11
12 import com.sun.corba.se.spi.orb.ORB ;
13
14 /** The full object key, which is contained in an IIOPProfile.
15 * The object identifier corresponds to the information passed into
16 * POA::create_reference_with_id and POA::create_reference
17 * (in the POA case). The template
18 * represents the information that is object adapter specific and
19 * shared across multiple ObjectKey instances.
20 */

21 public interface ObjectKey extends Writeable
22 {
23     /** Return the object identifier for this Object key.
24     */

25     ObjectId getId() ;
26
27     /** Return the template for this object key.
28     */

29     ObjectKeyTemplate getTemplate() ;
30
31     byte[] getBytes( org.omg.CORBA.ORB JavaDoc orb ) ;
32     
33     CorbaServerRequestDispatcher getServerRequestDispatcher( ORB orb ) ;
34 }
35
Popular Tags