public static IdentifiableFactory makeJavaSerializationComponentFactory() {
return new EncapsulationFactoryBase(
ORBConstants.TAG_JAVA_SERIALIZATION_ID) {
public Identifiable readContents(InputStream in) {
byte version = in.read_octet();
Identifiable cmp = new JavaSerializationComponent(version);
return cmp;
}
};
}