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 java.lang.Object implements IdentifiableFactory<E>
-
-
Field Summary
Fields Modifier and Type Field Description private intid
-
Constructor Summary
Constructors Constructor Description EncapsulationFactoryBase(int id)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Ecreate(ORB orb, InputStream in)Construct the appropriate Identifiable object with the given id from the InputStream is.intgetId()Return the id of this factory, which is the id of the result of any create call.protected abstract EreadContents(InputStream is)
-
-
-
Method Detail
-
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
public final E create(ORB orb, InputStream in)
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
protected abstract E readContents(InputStream is)
-
-