I
- inputO
- outputC
- contextpublic abstract class AbstractFunctionExecutor<I,O,C> extends Object implements FunctionExecutor<I,O>
LocalFunctionRegistry.FUNCTION_NAME
for the given inputs and outputs.Constructor and Description |
---|
AbstractFunctionExecutor() |
Modifier and Type | Method and Description |
---|---|
protected ApplicationContext |
buildApplicationContext(C context) |
protected ExecutableMethod<Object,Object> |
resolveFunction(LocalFunctionRegistry localFunctionRegistry,
String functionName)
Resolve a function from the
LocalFunctionRegistry . |
protected String |
resolveFunctionName(Environment env)
Resolves the function name to execution for the environment.
|
protected Environment |
startEnvironment(ApplicationContext applicationContext)
Start the environment specified.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected ExecutableMethod<Object,Object> resolveFunction(LocalFunctionRegistry localFunctionRegistry, String functionName)
LocalFunctionRegistry
.localFunctionRegistry
- The LocalFunctionRegistry
functionName
- The function nameprotected String resolveFunctionName(Environment env)
env
- The environmentprotected ApplicationContext buildApplicationContext(@Nullable C context)
context
- A platform specific context objectApplicationContext
to useprotected Environment startEnvironment(ApplicationContext applicationContext)
applicationContext
- the application context with the environment