|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.io.pof.reflect.PofReflectionHelper
public class PofReflectionHelper
Collection of helper methods for POF reflection.
| Constructor Summary | |
|---|---|
PofReflectionHelper() |
|
| Method Summary | |
|---|---|
static java.lang.Object |
ensureType(java.lang.Object o, int nType, PofContext ctx)Validate that the supplied object is compatible with the specified type. |
static java.lang.Class |
getClass(int nType, PofContext ctx)Determine the class associated with the given type identifier. |
| Constructor Detail |
|---|
public PofReflectionHelper()
| Method Detail |
|---|
public static java.lang.Class getClass(int nType,
PofContext ctx)
nType - the Pof type identifier; includes Pof intrinsics, Pof compact values, and user typesctx - the PofContextjava.lang.IllegalArgumentException - if the specified type is a user type that is unknown to this PofContext
public static java.lang.Object ensureType(java.lang.Object o,
int nType,
PofContext ctx)
o - the objectnType - the Pof type identifier; includes Pof intrinsics, Pof compact values, and user typesctx - the PofContextjava.lang.IllegalArgumentException - if the specified type is a user type that is unknown to this PofContext or there is no type mappingjava.lang.ClassCastException - if the specified object is not assignable to the specified type
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||