net.officefloor.plugin.jndi.work
Class TaskContextParameterFactory

java.lang.Object
  extended by net.officefloor.plugin.jndi.work.TaskContextParameterFactory
All Implemented Interfaces:
ParameterFactory

public class TaskContextParameterFactory
extends Object
implements ParameterFactory

ParameterFactory to return the TaskContext.

Author:
Daniel Sagenschneider

Constructor Summary
TaskContextParameterFactory()
           
 
Method Summary
 Object createParameter(Object jndiWorkObject, TaskContext<?,?,?> context)
          Creates the parameter from the TaskContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskContextParameterFactory

public TaskContextParameterFactory()
Method Detail

createParameter

public Object createParameter(Object jndiWorkObject,
                              TaskContext<?,?,?> context)
                       throws Exception
Description copied from interface: ParameterFactory
Creates the parameter from the TaskContext.

Specified by:
createParameter in interface ParameterFactory
Parameters:
jndiWorkObject - JNDI Work Object.
context - TaskContext.
Returns:
Parameter.
Throws:
Exception - If fails to create the parameter.


Copyright © 2005-2013. All Rights Reserved.