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:IdentifiableFactoryReturn the id of this factory, which is the id of the result of any create call.- Specified by:
getIdin interfaceIdentifiableFactory<E extends Identifiable>- Returns:
- factory id
-
create
Description copied from interface:IdentifiableFactoryConstruct the appropriate Identifiable object with the given id from the InputStream is.- Specified by:
createin interfaceIdentifiableFactory<E extends Identifiable>- Parameters:
orb- ORB to use for creationin- stream to construct object from- Returns:
- constructed Identifiable
-
readContents
-