Package com.sun.corba.se.impl.ior
Class IdentifiableFactoryFinderBase
java.lang.Object
com.sun.corba.se.impl.ior.IdentifiableFactoryFinderBase
- All Implemented Interfaces:
IdentifiableFactoryFinder
- Direct Known Subclasses:
TaggedComponentFactoryFinderImpl,TaggedProfileFactoryFinderImpl,TaggedProfileTemplateFactoryFinderImpl
public abstract class IdentifiableFactoryFinderBase
extends Object
implements IdentifiableFactoryFinder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(int id, InputStream is) If there is a registered factory for id, use it to read an Identifiable from is.protected IdentifiableFactorygetFactory(int id) abstract IdentifiablehandleMissingFactory(int id, InputStream is) voidregisterFactory(IdentifiableFactory factory) Register a factory for the given id.
-
Field Details
-
wrapper
-
-
Constructor Details
-
IdentifiableFactoryFinderBase
-
-
Method Details
-
getFactory
-
handleMissingFactory
-
create
Description copied from interface:IdentifiableFactoryFinderIf 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.- Specified by:
createin interfaceIdentifiableFactoryFinder
-
registerFactory
Description copied from interface:IdentifiableFactoryFinderRegister a factory for the given id.- Specified by:
registerFactoryin interfaceIdentifiableFactoryFinder
-