public class DefaultInvocation extends Object implements Invocation, InvocationArguments
| Constructor and Description |
|---|
DefaultInvocation(Object invocationInstance,
InvocationMetadata metadata,
RequestContext context,
ResponseContext responseContext) |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
asList() |
InvocationArguments |
getInvocationArguments()
|
Object |
getInvocationInstance()
Get entry-point object instance.
|
protected InvocationMetadata |
getMetadata() |
protected Map<Integer,Object> |
getPreparedArgs() |
protected RequestContext |
getRequestContext() |
protected ResponseContext |
getResponseContext() |
Object |
invoke()
Invoke entry-point method.
|
void |
putInvocationArgument(int index,
Object arg) |
void |
replace(Object newInvocationInstance) |
public DefaultInvocation(Object invocationInstance, InvocationMetadata metadata, RequestContext context, ResponseContext responseContext)
public Object invoke() throws InvocationFailureException
Invocationinvoke in interface InvocationInvocationFailureExceptionApplicationProcessorpublic Object getInvocationInstance()
InvocationgetInvocationInstance in interface Invocationpublic void putInvocationArgument(int index,
Object arg)
putInvocationArgument in interface InvocationArgumentsindex - index of argument.arg - value of argument.protected InvocationMetadata getMetadata()
protected RequestContext getRequestContext()
protected ResponseContext getResponseContext()
public List<Object> asList()
asList in interface PreparedInvocationArgumentspublic void replace(Object newInvocationInstance)
replace in interface InvocationArgumentsnewInvocationInstance - instance of entry-point.public InvocationArguments getInvocationArguments()
InvocationgetInvocationArguments in interface InvocationInvocationArgumentsCopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.