public abstract class IdentifiableFactoryFinderBase extends Object implements IdentifiableFactoryFinder
Modifier and Type | Field and Description |
---|---|
protected IORSystemException |
wrapper |
Modifier | Constructor and Description |
---|---|
protected |
IdentifiableFactoryFinderBase(ORB orb) |
Modifier and Type | Method and Description |
---|---|
Identifiable |
create(int id,
InputStream is)
If there is a registered factory for id, use it to
read an Identifiable from is.
|
protected IdentifiableFactory |
getFactory(int id) |
abstract Identifiable |
handleMissingFactory(int id,
InputStream is) |
void |
registerFactory(IdentifiableFactory factory)
Register a factory for the given id.
|
protected IORSystemException wrapper
protected IdentifiableFactoryFinderBase(ORB orb)
protected IdentifiableFactory getFactory(int id)
public abstract Identifiable handleMissingFactory(int id, InputStream is)
public Identifiable create(int id, InputStream is)
IdentifiableFactoryFinder
create
in interface IdentifiableFactoryFinder
public void registerFactory(IdentifiableFactory factory)
IdentifiableFactoryFinder
registerFactory
in interface IdentifiableFactoryFinder
Copyright © 2021 JBoss by Red Hat. All rights reserved.