public class ObjectParameterFactory extends Object implements ParameterFactory
ParameterFactory
to obtain an Object from the TaskContext
.Constructor and Description |
---|
ObjectParameterFactory(int dependencyIndex)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Object |
createParameter(Object jndiWorkObject,
TaskContext<?,?,?> context)
Creates the parameter from the
TaskContext . |
public ObjectParameterFactory(int dependencyIndex)
dependencyIndex
- Dependency index of the Object from the TaskContext
.public Object createParameter(Object jndiWorkObject, TaskContext<?,?,?> context) throws Exception
ParameterFactory
TaskContext
.createParameter
in interface ParameterFactory
jndiWorkObject
- JNDI Work
Object.context
- TaskContext
.Exception
- If fails to create the parameter.Copyright © 2005–2016. All rights reserved.