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)
IdentifiableFactoryFindercreate in interface IdentifiableFactoryFinderpublic void registerFactory(IdentifiableFactory factory)
IdentifiableFactoryFinderregisterFactory in interface IdentifiableFactoryFinderCopyright © 2018 JBoss by Red Hat. All rights reserved.