public class ParamsFlattener extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParamsFlattener.GenericListType |
static class |
ParamsFlattener.RomType |
| Constructor and Description |
|---|
ParamsFlattener() |
| Modifier and Type | Method and Description |
|---|---|
Type |
calculateFlattenType(Type type) |
Props |
flattenParams(Props params)
Flatten the parameter list to be sent to remote server using flattenParam
method
|
Props |
flattenParams(Props params,
boolean inTx)
Flatten the parameter list to be sent to remote server using flattenParam
method
|
Object |
flattenResult(Object result,
RemoteObjectManager manager) |
Class<?> |
getClassFor(String fullyClassName) |
static ParamsFlattener |
getInstance() |
ParamsFlattener.RomType |
getRomType(Type type) |
boolean |
isComplexTypeRegister(Type type) |
boolean |
isEnum(Type type) |
boolean |
isList(Type type) |
boolean |
isMap(Type type) |
boolean |
isRemoteClass(Type type) |
Object[] |
unflattenParams(Annotation[][] paramAnnotations,
Type[] paramTypes,
Props params,
ObjectRefsManager manager) |
Object |
unflattenValue(String paramName,
Type type,
Object value,
ObjectRefsManager manager) |
public static ParamsFlattener getInstance()
public Props flattenParams(Props params)
params - public Props flattenParams(Props params, boolean inTx)
params - public Object flattenResult(Object result, RemoteObjectManager manager)
public Object[] unflattenParams(Annotation[][] paramAnnotations, Type[] paramTypes, Props params, ObjectRefsManager manager)
public Object unflattenValue(String paramName, Type type, Object value, ObjectRefsManager manager)
public ParamsFlattener.RomType getRomType(Type type)
public boolean isRemoteClass(Type type)
public boolean isComplexTypeRegister(Type type)
public boolean isList(Type type)
public boolean isMap(Type type)
public boolean isEnum(Type type)
Copyright © 2015 Kurento. All rights reserved.