|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskActivationController
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 |
---|
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.TaskManager.registerTask(Task,
java.util.Map)
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 or if the task is not activated.TaskManager.unregisterTask(Task)
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.TaskManager.unregisterTask(Task)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |