KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)IdentifiableFactory.java 1.14 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.Identifiable ;
13
14 /** Factory interface for creating Identifiables.
15  */

16 public interface IdentifiableFactory {
17     /** Return the id of this factory, which is the id of the result
18      * of any create call.
19      */

20     public int getId() ;
21
22     /** Construct the appropriate Identifiable object with the
23      * given id from the InputStream is.
24      */

25     public Identifiable create( InputStream JavaDoc in ) ;
26 }
27
Popular Tags