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. package com.sun.corba.se.spi.ior ;
  8. import org.omg.CORBA_2_3.portable.InputStream ;
  9. import com.sun.corba.se.spi.ior.Identifiable ;
  10. /** Factory interface for creating Identifiables.
  11. */
  12. public interface IdentifiableFactory {
  13. /** Return the id of this factory, which is the id of the result
  14. * of any create call.
  15. */
  16. public int getId() ;
  17. /** Construct the appropriate Identifiable object with the
  18. * given id from the InputStream is.
  19. */
  20. public Identifiable create( InputStream in ) ;
  21. }