org.objectweb.dream.control.activity.task
Class ContainerLifeCycleMixin
java.lang.Object
org.objectweb.dream.control.activity.task.ContainerLifeCycleMixin
- All Implemented Interfaces:
- LifeCycleController, TaskLifeCycleController
- public abstract class ContainerLifeCycleMixin
- extends Object
- implements TaskLifeCycleController
Mixin that delegate method to content object. The content of the component
must implements TaskLifeCycleController
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_this_weaveableOptC
public Component _this_weaveableOptC
- The weaveableOptC field required by this mixin. This field is
supposed to reference the
Component
interface of the component to
which this controller object belongs.
asyncStop
public void asyncStop(TaskStoppedListener listener)
- Description copied from interface:
TaskLifeCycleController
- Stops asynchronously the task, this interface belong. This method returns
immediatly. The given listener will be notified when the task has stopped.
If the task is already in the
LifeCycleController.STOPPED
state,
the listener is immediatly notified.
- Specified by:
asyncStop
in interface TaskLifeCycleController
- Parameters:
listener
- listener nitified when the task has stopped.- See Also:
TaskLifeCycleController.asyncStop(TaskStoppedListener)
getFcState
public String getFcState()
- Specified by:
getFcState
in interface LifeCycleController
- See Also:
LifeCycleController.getFcState()
startFc
public void startFc()
throws IllegalLifeCycleException
- Specified by:
startFc
in interface LifeCycleController
- Throws:
IllegalLifeCycleException
- See Also:
LifeCycleController.startFc()
stopFc
public void stopFc()
throws IllegalLifeCycleException
- Specified by:
stopFc
in interface LifeCycleController
- Throws:
IllegalLifeCycleException
- See Also:
LifeCycleController.stopFc()
getContent
public TaskLifeCycleController getContent()
- Returns the content of the component.
- Returns:
- the content of the component.
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.