public abstract class MarshallerContextAdapter extends Object implements MarshallerContext
| Constructor and Description |
|---|
MarshallerContextAdapter()
Initializes context.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
className(int id)
Gets class name by type ID.
|
Class |
getClass(int id,
ClassLoader ldr)
Gets class for provided type ID.
|
boolean |
registerClass(int id,
Class cls)
Registers class with provided type ID.
|
protected abstract boolean |
registerClassName(int id,
String clsName)
Registers class name.
|
public boolean registerClass(int id,
Class cls)
throws IgniteCheckedException
registerClass in interface MarshallerContextid - Type ID.cls - Class.IgniteCheckedException - In case of error.public Class getClass(int id, ClassLoader ldr) throws ClassNotFoundException
getClass in interface MarshallerContextid - Type ID.ldr - Class loader.ClassNotFoundException - If class was not found.protected abstract boolean registerClassName(int id,
String clsName)
throws IgniteCheckedException
id - Type ID.clsName - Class name.IgniteCheckedExceptionprotected abstract String className(int id)
id - Type ID.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015