|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A control interface used to activate or desactivate tasks of the component (ie. register/unregister in activity manager). This interface is an hidden control interface used by lifecycle controller or by task controller.
Method Summary | |
void |
activateTask(Task task)
Register the given task with the activity manager. |
void |
deactivateTask(Task task)
Unregister the given task with the activity manager. |
void |
deactivateTask(Task task,
TaskStoppedListener taskStoppedListener)
Unregister the given task with the activity manager. |
Method Detail |
public void activateTask(Task task) throws NoSuchTaskException, IllegalTaskException
task
- the task to register.
NoSuchTaskException
- if the given task is unknown.
IllegalTaskException
- if the task can't be registred in the activity
manager.TaskManagerController.registerTask(Task, java.util.Map)
public void deactivateTask(Task task) throws NoSuchTaskException, IllegalTaskException
task
- the task to unregister.
NoSuchTaskException
- if the given task is unknown.
IllegalTaskException
- if the task can't be unregistred in the
activity manager.TaskManagerController.unregisterTask(Task)
public void deactivateTask(Task task, TaskStoppedListener taskStoppedListener) throws NoSuchTaskException, IllegalTaskException
task
- the task to unregister.taskStoppedListener
- the listener to notify.
NoSuchTaskException
- if the given task is unknown.
IllegalTaskException
- if the task can't be unregistred in the
activity manager.TaskManagerController.unregisterTask(Task)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |