public class DefaultExecutionResolver extends Object implements ExecutionResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
CALL |
static String |
FUNCTION |
| Constructor and Description |
|---|
DefaultExecutionResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
castArguments(Object[] arguments) |
protected Object |
castEnumToString(Object enumValue) |
protected Object |
castResult(JSCall call,
Object returnValue) |
protected Object |
castStringToEnum(Class<?> returnType,
Object returnValue) |
Object |
execute(JSCall call) |
protected Object |
executeScriptForCall(JSCall call) |
protected <T> void |
registerExtension(JSTarget target) |
protected String |
resolveScriptToExecute(JSCall call) |
public static final String FUNCTION
public static final String CALL
public Object execute(JSCall call)
execute in interface ExecutionResolverprotected <T> void registerExtension(JSTarget target)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.