net.officefloor.plugin.jndi.work
Interface ParameterFactory

All Known Implementing Classes:
JndiWorkParameterFactory, ObjectParameterFactory, TaskContextParameterFactory

public interface ParameterFactory

Creates the parameter for the JndiObjectTask.

Author:
Daniel Sagenschneider

Method Summary
 Object createParameter(Object jndiWorkObject, TaskContext<?,?,?> context)
          Creates the parameter from the TaskContext.
 

Method Detail

createParameter

Object createParameter(Object jndiWorkObject,
                       TaskContext<?,?,?> context)
                       throws Exception
Creates the parameter from the TaskContext.

Parameters:
jndiWorkObject - JNDI Work Object.
context - TaskContext.
Returns:
Parameter.
Throws:
Exception - If fails to create the parameter.


Copyright © 2005-2013. All Rights Reserved.