KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ObjectKeyFactory.java 1.3 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 org.omg.CORBA_2_3.portable.InputStream JavaDoc ;
11
12 import com.sun.corba.se.spi.ior.ObjectKey ;
13 import com.sun.corba.se.spi.ior.ObjectKeyTemplate ;
14
15 /** Construct ObjectKey and ObjectKeyTemplate instances from their
16  * CDR-marshalled representation.
17  */

18 public interface ObjectKeyFactory
19 {
20     /** Create an ObjectKey from its octet sequence representation.
21      */

22     ObjectKey create( byte[] key ) ;
23
24     /** Create an ObjectKeyTemplate from its representation
25      * in an InputStream.
26      */

27     ObjectKeyTemplate createTemplate( InputStream JavaDoc is ) ;
28 }
29
Popular Tags