public class PlatformJavaObjectFactoryProxy extends Object implements Externalizable, Binarylizable
| Modifier and Type | Field and Description |
|---|---|
static int |
TYP_DEFAULT
Default factory.
|
static int |
TYP_USER
User-defined type.
|
| Constructor and Description |
|---|
PlatformJavaObjectFactoryProxy()
Default constructor.
|
PlatformJavaObjectFactoryProxy(int factoryTyp,
@Nullable String clsName,
@Nullable Object payload,
@Nullable Map<String,Object> props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PlatformJavaObjectFactory |
factory(GridKernalContext ctx)
Get factory instance.
|
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
void |
writeExternal(ObjectOutput out) |
public static final int TYP_USER
public static final int TYP_DEFAULT
public PlatformJavaObjectFactoryProxy()
public PlatformJavaObjectFactoryProxy(int factoryTyp,
@Nullable
@Nullable String clsName,
@Nullable
@Nullable Object payload,
@Nullable
@Nullable Map<String,Object> props)
factoryTyp - Factory type.clsName - Class name.payload - Payload.props - Properties.public PlatformJavaObjectFactory factory(GridKernalContext ctx)
ctx - Kernal context for injections.public void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary in interface Binarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary in interface Binarylizablereader - Binary object reader.BinaryObjectException - In case of error.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020