public abstract class IdentifiableFactoryFinderBase<E extends Identifiable> extends Object implements IdentifiableFactoryFinder<E>
| Modifier and Type | Field and Description |
|---|---|
protected static IORSystemException |
wrapper |
| Modifier | Constructor and Description |
|---|---|
protected |
IdentifiableFactoryFinderBase(ORB orb) |
| Modifier and Type | Method and Description |
|---|---|
E |
create(int id,
InputStream is)
If there is a registered factory for id, use it to
read an Identifiable from is.
|
protected IdentifiableFactory<E> |
getFactory(int id) |
abstract E |
handleMissingFactory(int id,
InputStream is) |
void |
registerFactory(IdentifiableFactory<E> factory)
Register a factory for the given id.
|
protected static final IORSystemException wrapper
protected IdentifiableFactoryFinderBase(ORB orb)
protected IdentifiableFactory<E> getFactory(int id)
public abstract E handleMissingFactory(int id, InputStream is)
public E create(int id, InputStream is)
IdentifiableFactoryFindercreate in interface IdentifiableFactoryFinder<E extends Identifiable>public void registerFactory(IdentifiableFactory<E> factory)
IdentifiableFactoryFinderregisterFactory in interface IdentifiableFactoryFinder<E extends Identifiable>Copyright © 2017–2019 Eclipse Foundation. All rights reserved.