org.objectweb.fractal.task.core.primitive
Class BasicPrimitiveTaskFactory

java.lang.Object
  extended by org.objectweb.fractal.task.core.primitive.BasicPrimitiveTaskFactory
All Implemented Interfaces:
PrimitiveTaskFactory

public class BasicPrimitiveTaskFactory
extends java.lang.Object
implements PrimitiveTaskFactory


Constructor Summary
BasicPrimitiveTaskFactory()
           
 
Method Summary
 org.objectweb.fractal.api.Component newPrimitiveTask(java.lang.Object implementation, java.lang.Object... args)
          Creates a primitive task component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPrimitiveTaskFactory

public BasicPrimitiveTaskFactory()
Method Detail

newPrimitiveTask

public org.objectweb.fractal.api.Component newPrimitiveTask(java.lang.Object implementation,
                                                            java.lang.Object... args)
                                                     throws TaskException
Description copied from interface: PrimitiveTaskFactory
Creates a primitive task component.

Specified by:
newPrimitiveTask in interface PrimitiveTaskFactory
Parameters:
implementation - the implementation of the task.
args - the parameters of the task.
Returns:
a task component.
Throws:
TaskException - if an error occurs while instantiating the task.


Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.