org.objectweb.dream.control.activity.task
Class LifeCycleActivationTaskMixin

java.lang.Object
  extended byorg.objectweb.dream.control.activity.task.LifeCycleActivationTaskMixin

public abstract class LifeCycleActivationTaskMixin
extends Object

This mixin activates new added task. ie : call TaskActivationController.activateTask(Task)when a task is added ( addTask) and the component is started. This miwin also deactivates removed task.


Field Summary
 LifeCycleController _this_weaveableOptLC
          The weaveableOptLC field required by this mixin.
 TaskActivationController _this_weaveableTAC
          The weaveableTAC field required by this mixin.
 
Constructor Summary
LifeCycleActivationTaskMixin()
           
 
Method Summary
abstract  void _super_addTask(Task task, Map hints)
          The TaskController.addTask(Task, Map)method overriden by this mixin.
abstract  void _super_removeTask(Task task)
          The TaskController.removeTask(Task)method overriden by this mixin.
 void addTask(Task task, Map hints)
           
 void removeTask(Task task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_this_weaveableTAC

public TaskActivationController _this_weaveableTAC
The weaveableTAC field required by this mixin. This field is supposed to reference the TaskActivationControllerinterface of the component to which this controller object belongs.


_this_weaveableOptLC

public LifeCycleController _this_weaveableOptLC
The weaveableOptLC field required by this mixin. This field is supposed to reference the LifeCycleControllerinterface of the component to which this controller object belongs.

Constructor Detail

LifeCycleActivationTaskMixin

public LifeCycleActivationTaskMixin()
Method Detail

addTask

public void addTask(Task task,
                    Map hints)
             throws IllegalTaskException
Throws:
IllegalTaskException
See Also:
TaskController.addTask(Task, Map)

removeTask

public void removeTask(Task task)
                throws NoSuchTaskException,
                       IllegalTaskException
Throws:
NoSuchTaskException
IllegalTaskException
See Also:
TaskController.removeTask(Task)

_super_addTask

public abstract void _super_addTask(Task task,
                                    Map hints)
                             throws IllegalTaskException
The TaskController.addTask(Task, Map)method overriden by this mixin.

Throws:
IllegalTaskException
See Also:
TaskController.addTask(Task, Map)

_super_removeTask

public abstract void _super_removeTask(Task task)
                                throws NoSuchTaskException,
                                       IllegalTaskException
The TaskController.removeTask(Task)method overriden by this mixin.

Throws:
NoSuchTaskException
IllegalTaskException
See Also:
TaskController.removeTask(Task)


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.