public class FlowParameterFactory extends Object implements ParameterFactory
ParameterFactory
to obtain the JobSequence
.Constructor and Description |
---|
FlowParameterFactory(ClassLoader classLoader,
Class<?> flowInterface,
Map<String,FlowMethodMetaData> methodMetaDatas)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Object |
createParameter(TaskContext<?,?,?> context)
Creates the parameter from the
TaskContext . |
FlowMethodMetaData[] |
getFlowMethodMetaData()
Obtains the
FlowMethodMetaData . |
public FlowParameterFactory(ClassLoader classLoader, Class<?> flowInterface, Map<String,FlowMethodMetaData> methodMetaDatas) throws Exception
classLoader
- ClassLoader
.flowInterface
- FlowInterface
class.methodMetaDatas
- FlowMethodMetaData
instances by its Method
name.Exception
- If fails to create the Proxy
.public FlowMethodMetaData[] getFlowMethodMetaData()
FlowMethodMetaData
.FlowMethodMetaData
.public Object createParameter(TaskContext<?,?,?> context) throws Exception
ParameterFactory
TaskContext
.createParameter
in interface ParameterFactory
context
- TaskContext
.Exception
- If fails to create the parameter.Copyright © 2005–2016. All rights reserved.