FileDocCategorySizeDatePackage
IdentifiableFactoryFinder.javaAPI DocJava SE 5 API1038Fri Aug 26 14:54:36 BST 2005com.sun.corba.se.spi.ior

IdentifiableFactoryFinder

public interface IdentifiableFactoryFinder
Interface used to manage a group of related IdentifiableFactory instances. Factories can be registered, and invoked through a create method, which must be implemented to handle the case of no registered factory appropriately.
author
Ken Cavanaugh

Fields Summary
Constructors Summary
Methods Summary
public Identifiablecreate(int id, org.omg.CORBA_2_3.portable.InputStream is)
If there is a registered factory for id, use it to read an Identifiable from is. Otherwise create an appropriate generic container, or throw an error. The type of generic container, or error behavior is a property of the implementation.

public voidregisterFactory(IdentifiableFactory factory)
Register a factory for the given id.