public abstract class JsrCallable extends CallableMethod
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object[] |
args |
protected int |
idxConfig |
protected int |
idxSession |
protected Param[] |
params |
method, paramTypes, pojo
Constructor and Description |
---|
JsrCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
JsrCallable(JsrCallable copy)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
assertRoleRequired(int index,
java.lang.String description) |
protected int |
findIndexForRole(Param.Role role)
Search the list of parameters for first one matching the role specified.
|
protected Param |
findParamForRole(Param.Role role)
Find first param for specified role.
|
Param[] |
getParams() |
void |
init(JsrSession session) |
abstract void |
setDecodingType(java.lang.Class<?> decodingType)
The Type of Class a
Decoder should be created to produce. |
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
protected final Param[] params
protected final java.lang.Object[] args
protected int idxSession
protected int idxConfig
public JsrCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
public JsrCallable(JsrCallable copy)
copy
- the JsrCallable to copy fromprotected void assertRoleRequired(int index, java.lang.String description)
protected int findIndexForRole(Param.Role role)
role
- the role to look forprotected Param findParamForRole(Param.Role role)
role
- the role specifiedpublic Param[] getParams()
public void init(JsrSession session)
public abstract void setDecodingType(java.lang.Class<?> decodingType)
Decoder
should be created to produce.decodingType
- the type of class a Decoder should be created to produceCopyright © 1995–2023 Webtide. All rights reserved.