Package com.sun.corba.ee.spi.ior
Class EncapsulationFactoryBase<E extends Identifiable>
java.lang.Object
com.sun.corba.ee.spi.ior.EncapsulationFactoryBase<E>
- All Implemented Interfaces:
IdentifiableFactory<E>
public abstract class EncapsulationFactoryBase<E extends Identifiable>
extends Object
implements IdentifiableFactory<E>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
private int id
-
-
Constructor Details
-
EncapsulationFactoryBase
public EncapsulationFactoryBase(int id)
-
-
Method Details
-
getId
public int getId()Description copied from interface:IdentifiableFactory
Return the id of this factory, which is the id of the result of any create call.- Specified by:
getId
in interfaceIdentifiableFactory<E extends Identifiable>
- Returns:
- factory id
-
create
Description copied from interface:IdentifiableFactory
Construct the appropriate Identifiable object with the given id from the InputStream is.- Specified by:
create
in interfaceIdentifiableFactory<E extends Identifiable>
- Parameters:
orb
- ORB to use for creationin
- stream to construct object from- Returns:
- constructed Identifiable
-
readContents
-