org.objectweb.dream.control.activity
Class Util
java.lang.Object
org.objectweb.dream.control.activity.Util
public final class Util
- extends Object
Utility methods to manage tasks.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addTask
public static void addTask(Component component,
Task task,
Map<String,Object> registrationHints)
throws NoSuchInterfaceException,
IllegalTaskException
- Adds the given task in the task controller of the given component.
- Parameters:
component
- the component interface which should provide the
TaskController
control interface.task
- the task to addregistrationHints
- the hints passed to the
TaskController.addTask(Task, Map)
method.
- Throws:
NoSuchInterfaceException
- If the given component doesn't have a task
controller interface.
IllegalTaskException
- If the given task can't be added to the task
controller.
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.